mount with uid and umask via NFS
Hi,
I want so share a partition via NFS so a PC with DVD-burner will burn it. I've mounted the partition on the PC with: #mount /dev/hdax /mnt/hdax I've configured NFS to share only to the pc that directory. On the PC I succesfully mount the directory, but some files and dirs are unreadable cause of permission denied! They have the 3 last permissions items empty (---). That should be the problem. I've tried mounting (on the NFS server the partition) with uid=code and even setting ownmask but I've got errors... Thanks im advance, Enrico |
Say the nfs mount point is : /mnt/nfs on the client, /shares/nfs on the server, server IP is : 192.168.0.1 and client IP is : 192.168.0.2. You want to set uid to 500 and gid to 100
in the fstab of the client : Code:
192.168.0.1:/shares/nfs /mnt/nfs nfs rw,sync,noauto,user,rsize=8192,timeo=14,wsize=8192,intr 0 0 /shares/nfs 192.168.0.2(sync,rw,anonuid=500,anongid=100) |
All times are GMT -5. The time now is 11:30 AM. |