On 2/8/99 3:00 AM, Christopher Avans (parka@cdc.net) stated: > U G W > rwx rwx rwx chmod 777 filename > rwx rwx r-x chmod 775 filename > rwx r-x r-x chmod 755 filename > rw- rw- r-- chmod 664 filename > rw- r-- r-- chmod 644 filename > > U = User > G = Group > W = World > > r = Readable > w = writable > x = executable > - = no permission > > > > Here is anther way of looking at it: > > Permissions: > > 400 read by owner > 040 read by group > 004 read by anybody (other) > 200 write by owner > 020 write by group > 002 write by anybody > 100 execute by owner > 010 execute by group > 001 execute by anybody > > To get a combination, just add them up. For example, to get >read > write execute by owner, read execute by group, and execute > by anybody, you would add 400+200+100+040+010+001 to give > 751. A much easier method is the "uog+rwx" u+w = user gets write o+r = other gets read uog+rwx = user, group, and other gets read, write, and execute u+rwx,g+rx = user gets read, write, and execute, while group gets read, and execute. More human readable. - Chris Jacobson +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST