________________________________
From: [email protected]
[mailto:[email protected]] On Behalf Of Joshua
Gallant
Sent: Tuesday, June 16, 2009 9:57 AM
To: U2 Users List
Subject: Re: [U2] Linux / file create default permissions
You do in fact want to look into the umask setting but 770
doesn't seem correct since that would grant access to "other" but not
the owner or group.
- Josh
---
Josh is right, umask has an inverse relationship to the octal permission
numbers chmod uses. We execute "umask 0002" in the UV users'
.bash_profile which results in permissions of rw-rw-r-- for new files
and rwxrwxr-x for new directories (type 19 files). If you want to
completely deny access for "other", "umask 0006" will results in
permissions of rw-rw---- for files and rwxrwx--- for directories. Also,
you can omit the first digit if it's zero. It's just for special
permissions like the suid or sticky bits.
-John
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users