Originally posted by juggler
That sounds like a nice workaround.
How about allowing just a single group, say the users
group (GID=500) to be able to access /mnt/data? How would I go about doing that?
What umask does is basically set the chmod. SO a umask of 000 (umask=000) sets a chmod of 777 which means everyone and their dog has all permissions.
So a better way of putting this (and quoting from Acid):
so therefore a umask of 333 equates to a chmod of 444 (777-333) which is r--r--r-- in more conventional terms. umask 022 would be rwxr-xr-x (chmod 755) and so on.
from this thread: http://www.linuxquestions.org/questi...threadid=25234
You want to allow full group access, but no one else :
What this will set is:
user full perm
group full perm
world (everyone else) no perm
And chown user:group /path/to/folder
, I believe set the correct values and abilities for that.