View previous topic :: View next topic |
Author |
Message |
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Thu Jun 28, 2007 6:47 am Post subject: nfs: permission denied[solved] |
|
|
Hi,
i tried to share some directories via nfs, but i get allways '192.168.0.44:/opt/ltsp-4.2/i386 failed, reason given by server: permission denied'
/var/log/messages:
Code: | 01:06:26 baron mountd[9016]: mount request from unknown host 192.168.0.68 for /opt/ltsp-4.2/i386 (/opt/ltsp-4.2/i386) |
cat /etc/hosts
Code: | 192.168.0.44 baron
192.168.0.68 ws008 |
cat /etc/exports
Code: | # /etc/exports: NFS file systems being exported. See exports(5).
/opt/ltsp-4.2/i386 /192.168.0.0/255.255.255.0(ro,no_root_squash,no_subtree_check,async)
/var/opt/ltsp/swapfiles /192.168.0.0/255.255.255.0(rw,no_root_squash,async)
|
cat /var/lib/nfs/etab
Code: | /var/opt/ltsp/swapfiles /192.168.0.0/255.255.255.0(rw,async,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
/opt/ltsp-4.2/i386 /192.168.0.0/255.255.255.0(ro,async,wdelay,hide,nocrossmnt,secure,no_root_squash,no_all_squash,no_subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
/tmp /192.168.0.0/255.255.255.0(ro,async,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_check,secure_locks,acl,mapping=identity,anonuid=65534,anongid=65534)
|
Manfred
Last edited by mlebek on Thu Jun 28, 2007 4:38 pm; edited 1 time in total |
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Thu Jun 28, 2007 8:17 am Post subject: |
|
|
etc/exports:
Code: | opt/ltsp-4.2/i386 (ro,no_root_squash,async) |
is working! |
|
Back to top |
|
|
danomac l33t
Joined: 06 Nov 2004 Posts: 881 Location: Vancouver, BC
|
Posted: Thu Jun 28, 2007 3:56 pm Post subject: Re: nfs: permission denied |
|
|
mlebek wrote: |
cat /etc/exports
Code: | # /etc/exports: NFS file systems being exported. See exports(5).
/opt/ltsp-4.2/i386 /192.168.0.0/255.255.255.0(ro,no_root_squash,no_subtree_check,async)
/var/opt/ltsp/swapfiles /192.168.0.0/255.255.255.0(rw,no_root_squash,async)
|
|
I don't believe the IP address is supposed to be prepended with a slash. Did you try removing it?
i.e.
Code: | # /etc/exports: NFS file systems being exported. See exports(5).
/opt/ltsp-4.2/i386 192.168.0.0/24(ro,no_root_squash,no_subtree_check,async)
/var/opt/ltsp/swapfiles 192.168.0.0/24(rw,no_root_squash,async)
|
|
|
Back to top |
|
|
mlebek Tux's lil' helper
Joined: 07 Mar 2004 Posts: 125
|
Posted: Thu Jun 28, 2007 4:37 pm Post subject: |
|
|
that was the problem. it happend when copy & paste the lines from a website.
thanks a lot. |
|
Back to top |
|
|
RayMoe n00b
Joined: 04 Aug 2005 Posts: 7 Location: Istanbul
|
Posted: Sat Jul 07, 2007 10:12 pm Post subject: NFS Exports |
|
|
Hi there,
I have the same Problem with permission denied. But my exports looks like this
# /etc/exports: NFS file systems being exported. See exports(5).
*(sync,all_squash)/ *(sync)
/mnt/gamze/Sharry/ *(sync,rw,all_squash,insecure)
I had to add the insecure because I have to connect to it via MAC OS X. I did not work without the insecure. portmap and nfsmount are working.
Thanks,
RayMoe |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|