[arch-general] Understanding permissions

Frédéric Perrin frederic.perrin at resel.fr
Thu Apr 16 13:45:28 EDT 2009


Le Jeudi 16 à 17:45, kludge a écrit :
> Dieter Plaetinck wrote:
>> On Thu, 16 Apr 2009 14:36:36 +0200
>> Johannes Held <mail at hehejo.de> wrote:
>>> Maurí­cio <briqueabraque at yahoo.com>:
>>>> 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


More information about the arch-general mailing list