I was working with automount 5 on a fairly recent 2.6.23 kernel, and got
the following error when trying to access an automounted directory:

gentoo ~ # ls /user/henson
ls: cannot access /user/henson: No such file or directory


The directory did exist, and the automounter configuration was correct,
but the actual mount failed:

gentoo ~ # mount -t nfs4 -o sec=krb5i zfs1:/export/user/henson /mnt
mount.nfs4: Permission denied


On a Solaris 10 system, attempting to access the same directory gave a more
appropriate error message:

[EMAIL PROTECTED] ~ # ls /user/henson
/user/henson: Permission denied

[EMAIL PROTECTED] ~ # mount -o vers=4 zfs1:/export/user/henson /mnt
nfs mount: mount: /mnt: Permission denied


Would it be possible to have the Linux automounter give a more accurate
error message for this case?


-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  [EMAIL PROTECTED]
California State Polytechnic University  |  Pomona CA 91768

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to