Author: Stephen Bennett Date: To: Matthew Byng-Maddick CC: users, baechler, Roger Light Subject: Re: [bitfolk] File and folder permissions for static web pages
On Tue, Mar 12, 2013 at 10:40:12AM -0700, Matthew Byng-Maddick wrote: > Yeah - fair point, in which case POSIX/SUS3 is using misleading terminology,
> which'll make newbies get it wrong! :-( Search, to me, implies what the
> directory read permission is for (ie. what're the contents of the directory)
Search is a different permission from read. Search allows you to test
for the existence of a file within that directory; read allows you to
retrieve the full list. Running stat() on /foo/bar requires search
permission on /foo, but not read permission. The terminology is only
misleading if you don't appreciate that distinction.