Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5394

Beginners • Re: Hard Drive Permissions

$
0
0
You also don't want to mark files as executable unless that is what you want. Unlike some other OS a particular filename component is not required in order to execute it. You do however need excute on a directory in order to change or traverse it.
So use 777 or a+rwx on directories and 666 or a+rw on files.
I haven't thought about that much, but I've found the solution: you can run chmod -R a+rwX. The capital X won't change current execute permissions of the files only of the folders.

Statistics: Posted by POPEYE — Wed Apr 17, 2024 9:40 pm



Viewing all articles
Browse latest Browse all 5394

Trending Articles