Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, i have configured nfs share on linux machine. with the proper entries in /etc/hosts.allow and /etc/exports file .. go give permission to client. on Windows 7 machine i have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Location
    Bangalore, IN
    Posts
    9

    permission issue while writing on nfs share from cygwin.


    Hi,
    i have configured nfs share on linux machine. with the proper entries in /etc/hosts.allow and /etc/exports file .. go give permission to client.

    on Windows 7 machine i have configured cygwin sshd sever. using this i am doing ssh to the win7 machine .. and using below command to mount the nfs share dir..

    net use V: server_IP:/root/nfs_share
    mount -f V: /root/nfs_share

    but when i tried writing the date on /root/nfs_share file .. this is throwing permission denied issue..

    kindly help.

    Thanks
    tanuj

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Hi,

    Can you show the output of these commands, run on the NFS server?

    Code:
    # show the NFS permissions
    cat /etc/exports
    Code:
    # show the filesystem permissions of the directory being shared
    ls -ld /root /root/nfs_share
    Code:
    # see if SELinux is running
    getenforce

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •