Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we set default permissions to 777 for everything in MAIN? #98

Open
nfriedly opened this issue Mar 25, 2024 · 4 comments
Open

Can we set default permissions to 777 for everything in MAIN? #98

nfriedly opened this issue Mar 25, 2024 · 4 comments
Labels
documentation Improvements or additions to documentation

Comments

@nfriedly
Copy link
Member

I just booted up linux to copy over some games directly, and noticed that I didn't have permissions to write to the roms folder. It was easy enough to fix (sudo chmod -R 777 roms), but I think we should just make that the default.

@TriForceX
Copy link
Member

of course! i thought this was done before, but checking commits apparently it was applied on uMTP side

@TriForceX TriForceX added the enhancement New feature or request label Mar 26, 2024
@TriForceX
Copy link
Member

Apparently theres some perms issues in some folders too using uMTP as someone reported recently (eg: gmenu2x), so must be checked in all methods.

@Apaczer
Copy link
Member

Apaczer commented Sep 16, 2024

small reading: https://forums.raspberrypi.com/viewtopic.php?t=369199 || https://askubuntu.com/questions/251206/mount-usb-drive-with-write-permissions-for-everyone-or-specific-user

FAT never respected permissions on drive, and anything printed with ls -a is just virtually non-existent (test with BOOT partition and see that even so u have only READ access you can still WRITE files). I believe BTRFS behaves here normally allowing only for root to have RW (was it anytime different for linux ex-drivers to behave opposite with auto-mount?).

Anyway I would add documenting how to allow for other user groups to have RW (666, not necessary 777) permissions on mounted externally drives (like using pmount cmd: https://www.linuxquestions.org/questions/linux-hardware-18/creating-an-udev-rule-mounting-all-usb-drive-as-666-a-807325/page2.html) and not relying soly on auto-mount feature.

@Apaczer Apaczer added documentation Improvements or additions to documentation and removed enhancement New feature or request labels Sep 16, 2024
@Apaczer
Copy link
Member

Apaczer commented Oct 30, 2024

FYI looks like sudo chown -R $USER:$USER /media/$USER/MAIN do the trick permanently at least on Ubuntu machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants