ehowton: (BSD)
ehowton ([personal profile] ehowton) wrote2020-04-18 11:51 pm
Entry tags:

FreeNAS NFS File Permissions


Set up the NFS share Maproot user to "root" and the Maproot Group to "wheel"
This way when you have the NFS share mounted and you run something as root on the client you are also root on the FreeNAS box and can change the ownership of the directory.

# chmod 1777 /nfsmount <-- rwx +sticky bit

               ,        ,
              /(        )`
              \ \___   / |
              /- _  `-/  '
             (/\/ \ \   /\
             / /   | `    \
             O O   ) /    |
             `-^--'`<     '
            (_.)  _  )   /
             `.___/`    /
               `-----' /
  <----.     __ / __   \
  <----|====O)))==) \) /====
  <----'    `--' `.__,' \
               |        |
                \       /
           ______( (_  / \______
  (FL)   ,'  ,-----'   |        \
         `--{__________)        \/