Woo.. Trimmed the CC list on this one. Didn't catch the last
one. Sorry! :-)
Jose M. Alcaide wrote to Sean Lutner and [EMAIL PROTECTED]:
Sean Lutner wrote:
I may just be being naive here, which is why I took this off the list. I
don't understand how a directory that is a-x will not
Jose M. Alcaide wrote to Warner Losh:
Speaking of ls(1)...
$ mkdir Arghh
$ touch Arghh/{one,two,three}
$ ls Arghh
one three two
$ chmod a-x Arghh
$ ls Arghh echo SUCCESS
SUCCESS
$ ls -l Arghh echo SUCCESS
SUCCESS
ARH :-)
This is not the expected behavior. If a
Ryan Thompson wrote:
"Search" (i.e., execute) permission on a directory implies that the
directory can be included as part of a directory search. In other words,
mapping to inodes is provided, but obtaining a list of files in the
directory is NOT. This is used by system administrators to
Warner Losh [EMAIL PROTECTED] wrote:
For normal users, ls -a lists all files, not counting . and .., but
for root it does list all files.
No, it always lists all files.
ls -A lists all files for normal users, but omits . and .. for root.
No, it always lists all files except for "." and "..".
Sean Lutner wrote:
I may just be being naive here, which is why I took this off the list. I
don't understand how a directory that is a-x will not let you run ls -l on
it.
(48) sean@h0050dab9d058: ~ $ ls test
one three two
(49) sean@h0050dab9d058: ~ $ ls -l test/
total 0
[ redirected to -hackers ]
On Tue, Oct 24, 2000 at 12:23:57AM -0700, Jordan Hubbard wrote:
What's wrong with -a? And what the heck does this have to do with
mobile computing?
-a doesn't disable -A, it adds to it (also shows . and ..). I think
this guy's looking for an option to disable this
In message [EMAIL PROTECTED] Will Andrews writes:
: [ redirected to -hackers ]
:
: On Tue, Oct 24, 2000 at 12:23:57AM -0700, Jordan Hubbard wrote:
: What's wrong with -a? And what the heck does this have to do with
: mobile computing?
:
: -a doesn't disable -A, it adds to it (also shows .
Speaking of ls(1)...
$ mkdir Arghh
$ touch Arghh/{one,two,three}
$ ls Arghh
one three two
$ chmod a-x Arghh
$ ls Arghh echo SUCCESS
SUCCESS
$ ls -l Arghh echo SUCCESS
SUCCESS
ARH :-)
This is not the expected behavior. If a directory does not have
search permission, but it has
8 matches
Mail list logo