Re: Understanding permissions

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



Le Jeudi 16 à 17:45, kludge a écrit :
> Dieter Plaetinck wrote:
>> On Thu, 16 Apr 2009 14:36:36 +0200
>> Johannes Held <mail@xxxxxxxxx> wrote:
>>> Maurí­cio <briqueabraque@xxxxxxxxx>:
>>>> stat("/home/mauricio/public_html", 0x7fffceb2dcb0) = -1 EACCES
>>>> (Permission denied)
>>> Is your ~ r-x for others?
>> 
>> actually only x is needed to traverse directories.
>
> and, iirc, if the user in question needs to traverse a higher level
> directory for which they do not have the 'x' bit set, they won't be able
> to access the lower level directories or any files in them.

Well, in this case, the higher directories being / and /home, I guess it
can safely be assumed that they are +x for everybody :-).

More serioulsy, I find that GNU info files about permissions are rather
well done. "info File permissions", assuming info is installed.

-- 
Fred


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux