Results 1 to 3 of 3

Thread: Can't write to nfs share from Mac OS X

  1. #1
    Join Date
    Apr 2010
    Beans
    60

    Can't write to nfs share from Mac OS X

    Hi all,

    I'm getting some strange behavior when trying to create directories on an nfs share on a linux machine that I'm accessing from Mac OS X 10.4.

    I can copy files but cannot create new files or directories.

    I've given every directory and file that's in the share directory rwx access for groups, users and owner and changed user to 777

    The line I've added to my /etc/exports file is;

    Code:
    /home/Music 10.1.1.1/24 (rw,async,no_subtree_check,insecure)
    Anyone have any suggestions on how I can start trouble shooting this? If I can copy a file why can't I create a new file/directory?

    Thanks in advance for any help with this.

  2. #2
    Join Date
    Jul 2007
    Location
    San Antone, Teksis
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't write to nfs share from Mac OS X

    it's because the user id that owns the share server side is not the same id on osx. the solution is to add 'all_squash' and 'anonuid={the user's id that owns the share}' to the export options.

  3. #3
    Join Date
    Apr 2010
    Beans
    60

    Re: Can't write to nfs share from Mac OS X

    Thanks for the advice, it's now working exactly how I was hoping it would.

    I'm going to have to learn more about permissions in linux...so glad there's this community.
    Last edited by GROwen; August 3rd, 2011 at 12:43 PM.

Bookmarks

Posting Permissions

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