]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't assume traditional Unix mode numbering.
authorJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:14:36 +0000 (13:14 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 26 Apr 1999 13:14:36 +0000 (13:14 +0000)
doc/perm.texi

index 966ccb50fec1d9e61cc21416c0e3e825ba079f86..4383a7f491fd110c151f04eb4eb466aa381d499c 100644 (file)
@@ -430,7 +430,7 @@ the file to all users.
 @cindex numeric modes
 @cindex file permissions, numeric
 @cindex octal numbers for file modes
-File permissions are stored internally as 16 bit integers.  As an
+File permissions are stored internally as integers.  As an
 alternative to giving a symbolic mode, you can give an octal (base 8)
 number that corresponds to the internal representation of the new mode.
 This number is always interpreted in octal; you do not have to add a
@@ -440,12 +440,13 @@ A numeric mode is usually shorter than the corresponding symbolic
 mode, but it is limited in that it can not take into account a file's
 previous permissions; it can only set them absolutely.
 
-The permissions granted to the user, to other users in the file's group,
+On most systems, the permissions granted to the user,
+to other users in the file's group,
 and to other users not in the file's group are each stored as three
 bits, which are represented as one octal digit.  The three special
 permissions are also each stored as one bit, and they are as a group
-represented as another octal digit.  Here is how the bits are arranged
-in the 16 bit integer, starting with the lowest valued bit:
+represented as another octal digit.  Here is how the bits are arranged,
+starting with the lowest valued bit:
 
 @example
 Value in  Corresponding