mount permission denied though server side already authenticated the request

Denis Vlasenko vda.linux at googlemail.com
Wed Apr 4 17:32:39 PDT 2007


On Wednesday 04 April 2007 16:07, Strong Qu wrote:
> ARM V6 platform Linux 2.6.10, Busybox 1.01, ash shell, server side is
> Ubuntu 6.10, nfs exports *(rw, all_squash)

Can you try something newer than 1.01?

> On target platform run:
> 
> # mount -o nolock 192.168.1.2:/home/user_1/share /mnt/shannon
> 
> Root has read/write/exec right in /mnt/pool. 192.168.1.2 is IP of
> shannon, the nfs server.
> 
> I got error as:
> 
> mount: permission denied. (are you root?)

Can you strace it?

strace -f -o mnt.log mount -o nolock 192.168.1.2:/home/user_1/share /mnt/shannon

> On the server side I run:
> 
> # tail -f /var/log/syslog
> 
> It shows:
> 
> Mar 30 11:01:13 shannon mounted[4330]: authenticated mount from
> 192.168.1.3 for /home/user_1/share (/home/user_1/share)
> 
> And on other x86/linux I can mount the nfs without any trouble.
> 
> I did not find nfsmount on the target board. Is it a must for nfs mount?

No, current busybox's mount doesn't need nfsmount, it does NFS mounts internally.
--
vda


More information about the busybox mailing list