As I mentioned in another thread, I need to share a directory with multiple accounts.
In order to do this, I understand that I need to set umask, but I'm very confused about what I'm doing, or what this does.
When I SSH to my server as root and run:
# umask
it returns 0022, which I understand is synonymous with 022.
If I need to share /home/example/www/images/ with user "new", I know that I need to run:
# umask 002
Is this a server-wide change, though, or do I run it while under /home/example/www/images/?
If it's a server-wide change, am I going to be changing the permissions of other scripts in other accounts?
I've read 20+ articles on umask, but none of them have been clear about what it is, exactly, that I'm changing. This server is my bread-and-butter, though, so I don't want to risk messing something up over a goof-off project.