help setting umask corrently
Cameron Simpson
cs at zip.com.au
Tue Mar 15 06:20:45 UTC 2011
On 15Mar2011 16:54, Gregory Machin <gdm at linuxpro.co.za> wrote:
| found the info I needed to get it correct
| http://en.wikipedia.org/wiki/Umask
"man 1 umask" should get you info also.
You may need to follow up with "man 2 umask" and/or "man 3 umask".
| 0 – read, write and execute
| 1 – read and write
| 2 – read and execute
| 3 – read only
| 4 – write and execute
| 5 – write only
| 6 – execute only
| 7 – no permissions
| so I ended up with umask 003
I use 002 myself; if I make an executable publicly readable I generally
intend execute as well.
Cheers,
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
What's the point of having Nebraska if we can't put it to its highest and
best use? - Patrick Bedard arguing for a 100 mph speed limit
More information about the users
mailing list