Jump to content

[SOLVED] Editing /etc/exports


Recommended Posts

Posted (edited)

I'm sharing a share via nfs to my linux VM, but I've been having ownership issues that I'd like to overcome.

 

The /etc/exports that UNRAID generates is:
 

"/mnt/user/MyMedia" -async,no_subtree_check,fsid=100 *(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash)

I tried editing it with nano to:
 

"/mnt/user/MyMedia" -async,no_subtree_check,fsid=100 *(sec=sys,rw,insecure,all_squash,anongid=1000,anonuid=1000)

But after rebooting it was reverted back to the original.

 

Anyone know how I can make the edit stick, or achieve the same effects through the gui?

Edited by dodgypast
  • 1 year later...
Posted (edited)
On 5/20/2020 at 2:45 AM, dodgypast said:

Got it working by using the following in the rule section of the private option:
 

(sec=sys,rw,insecure,all_squash,anongid=1000,anonuid=1000)

 

Necro-ing the thread, but, this was the closest I could find for my issue as well. Did your change within the parens persist through a reboot/re-share/re-export of the shares?

Edited by omninewb

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...