Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
NFS ubuntu/macos tips
;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