directories with mod 775 or 755? by jazei | tildeverse BBJ

>0 jazei @ 2023/07/20 11:31

Hi, I was doing ls -Fla and saw that my dir's are mod 775, I did chmod to 755... you can only read and execute the dir's...
is it OK? you can not write the directories.
regards.

>1 ultrachip @ 2023/07/28 22:47

>>OP

If you're asking if it's ok on a technical level I don't see why it wouldn't be. 

If you're asking if it's ok like as a matter of system policy... I also don't see why it wouldn't be, but you'd have to ask Deepend to be sure.

>2 anthk @ 2024/01/18 16:40

>>OP
It's fine.
Set  umask to 077, that's it, directories will
be created with 700 permissions.