En/na Martin Fick ha escrit:
>--- dmanye <dmanye@urv.cat> wrote:
>
>
>>hi,
>>
>>i need to be able from a vserser to mount an nfs
>>share (from an
>>external, not controlled by me server). when i try
>>to manually mount i
>>get: "mount: permission denied". if i do: echo
>>CAP_SYS_ADMIN >
>>bcapabilities then i can mount (well... i have to
>>wait ~2 minutes) but
>>
>>
the two minute waiting is due to the nfs locking mechanism (which i
don't understant very much but...). if i try to mount the share manually
with option 'nolock' the mounting operation is immediate.
>>when i try to do a simple ls on the mounted system i
>>get a "permission
>>denied" message.
>>
>>
>
>What user are you doing the 'ls' as? Does that user
>have permissions on the mounted share? If root, it
>probably does NOT since the server may be using
>root_squash. Make sure you are using a user which the
>server grants permissions to.
>
>
i'm trying to reproduce in a vserver a server i have in production where
root or another any user is able to enter/navigate the share. in the
vserver i tried as root and other unpriviliged accounts with no luck.
>Another thing, I found that when mounting via
>fstab.remote (which you are not doing), the server
>
>
doing so worse than doing it manually: manually i have to wait near 2
minutes, with fstab.remote is something greater than (sorry for) my 5
minutes little patience :-(
>needs to exported to both the vserver host and the
>vserver guest for it to work.
>
>
i've asked permission to the admin of the share server... i'll tell you
when i have permission.
more info may help:
host: debian sarge/etch
host kernel: 2.6.16-1-vserver-686
util-vserver 0.30.210-10
i've compiled nothing: all are debian precompiled packages.
thanks.
>-Martin
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>_______________________________________________
>Vserver mailing list
>Vserver@list.linux-vserver.org
>http://list.linux-vserver.org/mailman/listinfo/vserver
>
>
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Fri Jun 2 10:20:36 2006