Tuncay Baskan wrote:
Hello all, We were having mail server problems. I hope this message goes ok. Anyway. I have two Linux boxes here. I'm trying to mount a partition on one of them and use it at the otherside.
The supposed NFS server has the following in /etc/exports:
/www tonyali(rw,all_squash,anonuid=30,anongid=65534)
And at the box tonyali, I mount there with the following:
mount -o rsize=1024,wsize=1024 mainserver:/www /mnt
Everything up to here is ok. Except that those anonuid and anongid is not working as I'm expecting. I as another user am trying to copy a file or write something to mounted partition. But I get "Permission denied" error.
I read the manual. According to it, anonuid and anongid specifies that any access to that NFS partition will be formed as a single user specified by the uid and gid. (In this case uid=30,gid=65534 specifies the user wwwrun)
I think my local machine does not let me to write a file there. Because when I mount I see the following:
drwxr-xr-x 3 wwwrun nogroup 1024 Jun 3 17:53 mnt
How can I solve the problem?
Since this is urgent for me let me restate problem briefly:
I want to mount an NFS partition from machine A on machine B, so all users connecting from machine A will read/write like one specified user of machine B.
Regards.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
tbaskan@jetpa.com.tr