-
missing directories when do ls , but can cd to dir's
I have a very strange happening on a mysql server, in a directory where I put data files I have the following directory structure
/u02/mysql/data
Now if I cd to /u02/mysql I see nothing. No ls option shows the directory. But I am still able to cd to the directory, and mysql seems to be working.
Has anyone seen this before? Wondering I have a bad disk or worse....
messages doesnt show any weird inode errors on this fs.
JC
-
iirc the 'x' perm on a dir means that you can search the dir. If its not set, you cannot look for stuff via wildcards or blank searches eg 'ls'. You can only access stuff if you actually specify the name of the file/dir you want.
Not sure if this applies to 'ls -a' tho...
Cheers
Chris
-
You also may want to look at phpMysql
__________________________________________________ _______________________________________
Bigboogie on boogienights.net:
Ammo case
Asus 8N32 SLI MB
AMD Athlon x2 3800+
2 GB Patriot Signature 400 DDR
160 GB Hitachi 7200 IDE
2 x-250 Seagate SATA2
EVGA Nvidia 7900GT
Dell 2007WFP
Logitech 5.1 speakers
Logitech MX1000 mouse
Dell USB keyboard
NEC 3500 DVD-RW
Benq 1655 DVD-RW
(God bless tax refunds)
-
Originally posted by chrism01
iirc the 'x' perm on a dir means that you can search the dir. If its not set, you cannot look for stuff via wildcards or blank searches eg 'ls'. You can only access stuff if you actually specify the name of the file/dir you want.
Not sure if this applies to 'ls -a' tho...
ls -a should pick it up. The perms in the top dir look ok, I should see the directories, especially as root.
JC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|