Created
January 4, 2017 02:59
-
-
Save aminemat/1241746b1915ee67c6d629fa75530ed6 to your computer and use it in GitHub Desktop.
NFS ubuntu/macos tips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;uid and gis have to be the same in both the server and client | |
;change uid and gid in /etc/passwd | |
sudo find /home -uid OLD_UID -exec chown -h NEW_UID {} + | |
sudo find /home -gid OLD_GID -exec chgrp -h NEW_GID {} + | |
;mounting on mac | |
sudo mount -t nfs -o resvport,rw devbox.dev:SERVER_FOLDER CLIENT_FOLDER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment