Re: Who broke ls in FreeBSD? and why?

2000-10-31 Thread Ryan Thompson
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

Re: Who broke ls in FreeBSD? and why?

2000-10-31 Thread Ryan Thompson
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

Re: Who broke ls in FreeBSD? and why?

2000-10-31 Thread Jose M. Alcaide
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

Re: Who broke ls in FreeBSD? and why?

2000-10-30 Thread Tony Finch
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 "..".

Re: Who broke ls in FreeBSD? and why?

2000-10-25 Thread Jose M. Alcaide
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

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Will Andrews
[ 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

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Warner Losh
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 .

Re: Who broke ls in FreeBSD? and why?

2000-10-24 Thread Jose M. Alcaide
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