| ECS Home Automation and Security Archives |
| Subject: From: Date: | RE: [ecs] Linux (always a new trick up it's sleeve) Ingo Pakleppa 10 Nov 2003 01:59:02 -0800 |
You don't say WHICH directory you are trying to list. There are a number of situations that are special. One example is automounting. RH, by default, disables it. The configuration files provided use the /misc directory. Automounting means that a directory does not actually exist until you try to access it! I use it for a USB stick for instance: if I plug my USB flash stick into the port, and then type "ls /misc" I will see an empty directory. But when I then type "ls /misc/flash" I will see the content of my USB. Another use for automounting is to maintain network connections. Automounting is controlled with /etc/auto.master, which points to other files (such as /etc/auto.misc). Another thing: being root does not automatically give you the right to cd to any directory. It merely gives you the right to change permissions on the directory as necessary. But in this case, that's not an issue, because all users have read and execute access. Can you post the exact output of "ls -R" and of "ls -la" (not just ls -a), please, and also of "pwd"? Also, try to type "stat <directoryname>" on the invisible directory, as well as on the directories that you see but can't cd to. And finally, try running fsck to see if there might be corruption in your file system. On Fri, 2003-11-07 at 14:49, Mark Gilmore wrote: > it's just like all the others: > drwxr-xr-x > and as i'm installed as root, i would think i could get to any dir. > and how can i cd to "config" when it is *not* listed as a dir ? > > At 03:42 PM 11/7/2003 -0700, you wrote: > > >Mark, > > > >Go a directory above where you're at and ls -l to see what privileges are on > >the directory in question. You might also then change the privileges by > >doing something like chmod -Rf 777 dir/ Of course, this gives all rights to > >everyone. > > > >Rob > > > > > >-----Original Message----- > >From: Mark Gilmore [mailto:mark@markgilmore.net] > >Sent: Friday, November 07, 2003 2:57 PM > >To: ecs@netbloc.com > >Subject: Re: [ecs] Linux (always a new trick up it's sleeve) > > > >This is getting evn *more* twisted. > >I did a "ls -R" to see just what "directories" *it* would find. > >It found one called "config". And I *can* "cd" to it. > >But "ls -a" shows NO such dir. > >It *does* show a "configs". > >But I can't "cd" to that one. > >This is sick. > > > >At 01:51 PM 11/7/2003 -0800, you wrote: > > >OK: > > >I am listing a directory that shows numerous subdirectories > > >(as denoted by the leading "d"). > > >When I attempt to "cd " to *any* of them, it says "No such file or > >directory". > > >Logging in as root had no effect. > > >What in the world ??????? > > > > > >Mark Gilmore > > >http://OmnipotenceSoftware.com > > > > > > > > >--- > > >Outgoing mail is certified Virus Free. > > >Checked by AVG anti-virus system (http://www.grisoft.com). > > >Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003 > > > >Mark Gilmore > >http://OmnipotenceSoftware.com > > > > > > > >--- > >Incoming mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003 > > Mark Gilmore > http://OmnipotenceSoftware.com > > ______________________________________________________________________ > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003