*SOLVED* NFS again: ls: reading directory .: Input/output error [message #15093] |
Wed, 18 July 2007 17:46 |
aphexer
Messages: 6 Registered: May 2007 Location: Belgium
|
Junior Member |
|
|
When I export a directory which is not group executable I get this error: ls: reading directory .: Input/output error when running ls on it.
I assume it's just me, having set the permissions wrong. Anyone a clue why it doesn't just say permission denied?
Step by step:
I have 2 VE's: one NFS server(10.1.1.2), the other NFS client(10.1.1.7).
On the server VE:
# mkdir /test
# chmod 755 /test
(setup /etc/exports)
relevant line:
/test 10.1.1.0/24(ro,root_squash)
On the client VE:
# mount 10.1.1.2:/test /mnt
# ls /mnt
dir1
(it worked)
# umount /mnt
On the server again:
# chmod g-x /test
Client again:
# mount 10.1.1.2:/test /mnt
# ls /mnt
ls: reading directory /mnt: Input/output error
When I change the root_squash to no_root_squash the error is gone...
Thanks in advance for any help:)
[Updated on: Thu, 19 July 2007 09:01] by Moderator Report message to a moderator
|
|
|