View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Mon May 02, 2011 12:53 am Post subject: nfs - (500:users) incorrect mount owner/permission |
|
|
I'm trying to mount another user directory over nfs and I get owner: 500:users
When I mount my own directory over nfs it mount OK: joseph:users
How do I force to mount another user directory as their own or my name so I can "rw" to files.
Is it force thorough /etc/export or /etc/fstab
my /etc/exports:
/home/joseph/ 10.0.0.0/255.255.0.0(async,rw,no_subtree_check)
/home/thelma/ 10.0.0.0/255.255.0.0(async,rw,no_subtree_check)
fstab:
10.0.0.104:/home/joseph /home/joseph/mnt/syscon3 nfs nfsvers=3,users,noauto 0 0
10.0.0.104:/home/thelma /home/joseph/mnt/syscon3t nfs nfsvers=3,users,noauto 0 0 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jaglover Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/179708169458f2999e44e26.gif)
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Mon May 02, 2011 1:22 am Post subject: |
|
|
Jaglover wrote: | Methinks you may be unaware of fact NFS determines users by UID and groups by GID. If user joseph has UID 500 in local system and UID 500 in remote system everything is OK. |
Yes, I can mount my home on the remote system as my own as UID and GID are the same, but how do I force/mount another user home so I can write to files (I can read them but not writer to them). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Joseph_sys Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 08 Jun 2004 Posts: 2716 Location: Edmonton, AB
|
Posted: Mon May 02, 2011 1:33 am Post subject: |
|
|
Previously when I mount the nfs via sshfs I had in fstab: Code: |
sshfs#thelma@192.168.139.1:/home/thelma/ /home/joseph/mnt/clinic2/ fuse users,noauto,uid=1000,gid=1000,umask=0,allow_other |
and it worked but now if I try to enter uid=1000,gid=1000 it is not taking it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|