Web Hosting Talk







View Full Version : CHMOD a+w .. In numbers ??


brands
11-19-2002, 02:20 PM
hello,

I am supposed to chmod a config file to a+w , whats its equivalent in numbers ??

Thanks

Keeg
11-19-2002, 03:42 PM
if you mean owner group world where owner can do all and and the group can only write and the world can do nothing it would be 720 however if you want the group to read as well its its 760 as you just supplied two variables i assumed that the world should have no access


Steve

cperciva
11-19-2002, 07:07 PM
a+w would be 666 (assuming that you're allowing everyone to read the file as well).

Note that 666 is the Mark of the Beast. This makes perfect sense, since you should *never* give any normal file 666 permissions. (/dev/null, on the other hand, must be 666.)