Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

NFS - Maproot / Mapuser / root_squash / all_squash

Featured Replies

A simple request-

 

Add ability to expose maproot / mapuser fields for NFS.

These, can be quite handy especially combined with say, a kubernetes cluster with containers which may be running as root. 

This feature, apart of the NFS spec, allows incoming requests, to be mapped to particular user IDs.

So, instead of the incoming request being read/written as root, you can maproot=1002, which would translate the root account into userid=1002.

Likewise, mapuser, will map all user actions to a specific account.

It appears, in the world of BSD AND TrueNAS, this is referred to as maproot, mapall where as in Linux, this is referred to as root_squash, all_squash.

Linux documentation: https://linux.die.net/man/5/exports

BSD documentation: https://man.freebsd.org/cgi/man.cgi?exports(5)

This CAN be done currently, by modifying /etc/exports(ideally scripted), and reloading. However, I cannot find this functionality exposed via the user interface anywhere.

If, this feature came to be, I would also recommend exposing the ability to alter anonuid / anongid.

Solved by XtremeOwnage

  • 2 weeks later...
  • Author
  • Solution

For others looking for this functionality, it can be set with NFS rules, when using "private" mode.

Ie, Set rule to: 10.2.5.0/24(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash)

Edited by XtremeOwnage

  • 1 year later...
On 5/15/2023 at 2:04 PM, XtremeOwnage said:

For others looking for this functionality, it can be set with NFS rules, when using "private" mode.

Ie, Set rule to: 10.2.5.0/24(sec=sys,rw,insecure,anongid=100,anonuid=99,all_squash)

 

I know this is old, but I wanted to thank you for this answer! After much banging of the head against this issue, this is the first page on the internet I came across with a clear answer to to fix my NFS permission issues.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.