Mounted NFS directory can't mkdir
Fedora 10 system. Mounted cislab:/public/cm449 ./fileserver
Mounted fine on client workstation. Can ls the directory no problem. But can't create a directory to save backup files from my client workstation. I get a permission denied message. What am I missing? Your help would be greatly appreciated. Thanks, rc |
With what options is the directory exported from the server? Have you checked if you have given right permissions for the remote systems to create files there?
|
Look in the file /etc/exports. See if you have a proper netmask. It should look something like this:
/home/sam/stuff 192.168.0.1/255.255.255.0(root_squash,ro,sync,no_subtree_check,nohide) The above line will allow export of /home/sam/stuff to all ip addresses in the 192.168.0.1-255 range. Also, try mounting the NFS drive like this: sudo mount 192.168.0.23:/home/sam/stuff /mnt/stuff -t nfs |
You'll need to change the ro option to rw to be able to mkdir.
|
options in /etc/exports
/public/cis126/cm449 192.168.1.0/24(rw,sync,no_root_squash)
|
I think the permissions in the exports are not the only that count and the permissions on the directory also count. You need to allow write permissions on the directory as well.
|
All times are GMT -5. The time now is 04:26 AM. |