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

Re: changing directories and getting filedates

Felix Kollmann wrote:

> The problem was that the directory must have the executable bit, then it
> works.

Strictly, that bit isn't "the execute bit" for directories - it's
the "accessable" bit (since you can't "execute" a directory, that
flag does double-duty).  It's there because merely read-protecting
a directory doesn't prevent programs from chdir'ing into it.


Steve Baker                (817)619-2657 (Vox/Vox-Mail)
Raytheon Systems Inc.      (817)619-2466 (Fax)
Work: sjbaker@hti.com      http://www.hti.com
Home: sjbaker1@airmail.net http://web2.airmail.net/sjbaker1