• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

umask for specific directory

calhoun

Gawd
Joined
Jan 20, 2003
Messages
608
Hi.

I am wondernig if this is possible, I'm part of a team project, and we are having some headakes oriented around permissions on our group storage.

I want in my home directory to have default permissions of 700 so no one but me can see whats there.
But in the group directory I need 770 so i and anyone else can see/modify all the contents as nessesary.

I had tried umask 007 /path/to/shared/ and when i created a folder in there, it got what I wanted. Then when i create it in my home directory, It gets 770 too.

Is there anyway i can set it so default is 770 in shared and 700 in my folder ?

I unfortunately dont have root access so i cant setup some cron job to auto chmod recursively on the shared team folder.
 
Back
Top