senior_hombre
Explorer
- Joined
- Feb 11, 2012
- Messages
- 51
Hi,
i have o dataset on my freeNAS that is the home directory of the first created user (user1: uid=1001, gid=1001 on the NAS),
i want to use the NAS/dataset as a central storage of the home-directory of a user ona different pc (this pc has linux installed).
Thats why i created a NFS share for this dataset, the plan is to mount this over the home directory of the user on the different pc.
The problem is, the user on the linux pc has a different local uid=1000 and gid=100
when mounting the NFS share on the linux pc using this command:
the directory gets mounted but the directory and its contents are all owned by 1001:1001.
Thats not what i want of course. What can i do to change that?
i have o dataset on my freeNAS that is the home directory of the first created user (user1: uid=1001, gid=1001 on the NAS),
i want to use the NAS/dataset as a central storage of the home-directory of a user ona different pc (this pc has linux installed).
Thats why i created a NFS share for this dataset, the plan is to mount this over the home directory of the user on the different pc.
The problem is, the user on the linux pc has a different local uid=1000 and gid=100
when mounting the NFS share on the linux pc using this command:
Code:
sudo mount -t nfs 192.168.0.30:/mnt/volume1/user1 /home/paul
the directory gets mounted but the directory and its contents are all owned by 1001:1001.
Thats not what i want of course. What can i do to change that?