gustavostuff / crt-ready-retropie

MIT License
3 stars 0 forks source link

Cannot change ownership to uid 1001, gid 1001 #1

Open OQTIZZLE opened 3 years ago

OQTIZZLE commented 3 years ago

Decompressing crt-ready-retropie-config.tar.gz... (ownership error is expected) tar: boot/config.txt: Cannot change ownership to uid 1000, gid 1001: Operation not permitted tar: boot: Cannot change ownership to uid 1000, gid 1001: Operation not permitted tar: Exiting with failure status due to previous errors


Deleting crt-ready-retropie-config.tar.gz...


Restoring directory and files ownership...


./setup.sh: line 36: [: ==: unary operator expected


Restarting system...

gustavostuff commented 3 years ago

I'll need some more info like the device, exact version of retropie you're installing, if you have any other software installed, and anything relevant please.

thpschris commented 1 year ago

@OQTIZZLE @gustavostuff For line 36 just change it to (added quotes to the var, which is the cause of the failure) if [ "$1" == "snesdev" ]; then

Additionally if you want to resolve the permissions issue, just add --no-same-owner to the end of the tar command.

After these changes I was able to get it up and running via your script on the newest version of retropi.