I'd like to make it easy for users to log into a
different group and to make sure that when they do
that any files that are then created have group
write permission by default.
I'm trying to do this with a simple shell script
that just does
If I (or users) do this interactively, it works
fine. However, the umask doesn't stick around when
executed from the shell script (reverts to 002). I
suspect that the umask is only good for the life of
the child process that is running the script (?).
Any ideas how to make this work?
Sent via Deja.com http://www.deja.com/
Before you buy.