ehowton (ehowton) wrote,
ehowton
ehowton

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)   ,'  ,-----'   |        \
         `--{__________)        \/
Tags: coronavirus, covid-19, linux, unix
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments