Results 1 to 2 of 2
Is there a way to umask only a specific directory?
I want that everyone who add a file in this folder gets its file moded 700. But that adding it ...
- 11-24-2009 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
[SOLVED] Umask a specific directory
Is there a way to umask only a specific directory?
I want that everyone who add a file in this folder gets its file moded 700. But that adding it in any other folder still moded as default.
Thanks in advance !
- 12-12-2009 #2Just Joined!
- Join Date
- Nov 2009
- Posts
- 2
I've solved using access control lists. man setaclf
Set read only perms to any new file created in mypreciousdir by a member of the riskyusers group.setfacl -d -m g:riskyusers:r mypreciousdir


