help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Difference between file-accessible-directory-p() and file-readable-p


From: Eli Zaretskii
Subject: Re: Difference between file-accessible-directory-p() and file-readable-p() on a directory
Date: Fri, 25 Sep 2009 11:19:33 +0300

> From: Glenn Morris <rgm+news@stanford.edu>
> Date: Thu, 24 Sep 2009 18:04:22 -0700
> 
> You need execute permission to access a directory (on a Unix-type
> system; no idea about Windows).

There's no "execute permission" on Windows, on the level on which
`chmod' operates.  Programs that want to see Posix-style mode bits,
such as Emacs, invent that bit when they see a directory or an
executable program/script.

(NTFS-style file security does have attributes for directory traversal
and for program execution permissions, but Emacs does not yet support
those, and neither do most ports of `chmod'.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]