Skip to content

Commit

Permalink
Fix nfs share-mount ownership reset to nobody
Browse files Browse the repository at this point in the history
Enable only numeric owners so nfsidmap domain does
not have to be in sync between server and client.

Longhorn#2357

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang authored and joshimoo committed Apr 6, 2021
1 parent cccf8ae commit 82f5de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/nfs/nfs_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ NFSV4
Grace_Period = 0;
Minor_Versions = 1, 2;
RecoveryBackend = fs_ng;
Only_Numeric_Owners = true;
}
Export_defaults
Expand Down

0 comments on commit 82f5de7

Please sign in to comment.