-   Linux - Networking (
-   -   mount with uid and umask via NFS (

grendel-IT 08-06-2004 12:25 PM

mount with uid and umask via NFS
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,

Cedrik 08-06-2004 12:57 PM

Say the nfs mount point is : /mnt/nfs on the client, /shares/nfs on the server, server IP is : and client IP is : You want to set uid to 500 and gid to 100

in the fstab of the client :
Code:  /mnt/nfs  nfs  rw,sync,noauto,user,rsize=8192,timeo=14,wsize=8192,intr 0  0
in the /etc/exports of the server :

All times are GMT -5. The time now is 05:52 PM.