8 Sep
2006
8 Sep
'06
11:22
On Friday 08 September 2006 12:17, Hans van der Merwe wrote:
Let me show you how to catch a fish.
The "r w x" in binary will have the values "4 2 1". So, "r w -" will have the values "4 2 -", that sums up to 6.
So again, "r w x" will be "4 2 1" = 4+2+1 = 7, hence the create mode 777
For those interested in more detail: man chmod explains, e.g., the optional 4th digit which can be used with access rights, and how the umask affects the rights. -- ----- stephan@s11n.net http://s11n.net "...pleasure is a grace and is not obedient to the commands of the will." -- Alan W. Watts