Re: octal permissions



Alexander Larsson schrieb am 06.09.2007:
>On Mon, 2007-09-03 at 19:57 +0200, Michael Luthardt wrote:
>> Hi,
>> 
>> maybe this question was asked a dozen of times before, but I can't
>find
>> an answer. 
>> I use nautilus in ubuntu 7.04. What mean the 6 digit
>octal_permissions
>> for files and 7 digits for folders? I'm rather familiar with UNIX
>> permissions, but I can't figure out nautilus' meaning.
>
>>From "man chmod":
>
>A numeric mode is from one to four octal digits (0-7), derived by
>adding
>up the bits with values 4, 2, and 1.  Omitted digits are assumed to
>be
>leading zeros, except that if the first digit is omitted, a
>directory?s
>set user and group  ID  bits  are  not affected.  The first digit
>selects the set user ID (4) and set group ID (2) and restricted
>deletion or sticky (1) attributes.  The second digit selects
>permissions
>for the user who owns the file:  read  (4),  write (2), and execute
>(1);
>the third selects permissions for other users in the file?s group,
>with
>the same values; and the fourth for other users not in the file?s
>group,
>with the same values.
>
>
>
Hi,

thank you for your answer. But, This isn't my problem.
What you have cited from the man page I know very well and it's my
everyday use.
Instead, if you go to "list view" in Nautilus and set "show octal
permissions", you get 6 digits for files and 7 digits for
directories. Say, 600750. 750 OK, but what is the meaning of 600?
That, the digits _before_ the UNIX permissions, is it what I ask for.
I would be really glad if I get a hint.

Kind regards,

Michael Luthardt

Beerenweg 5
D-31275 Lehrte
luthardt dr-luthardt de
Tel. +49 5175 6164

09.09.2007, 20:53:05




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]