1
$ /sbin/mount.nfs --version
mount.nfs: (linux nfs-utils 1.2.8)
$ mkdir -p ~/mnt && sudo mount -t nfs -o rw,all_squash xx.xx.xx.xx:/lgtm/path/to/share ~/mnt
mount.nfs: an incorrect mount option was specified

If I remove all_squash then it works fine (with the wrong UID/GID obviously). The all_squash option was not in man nfs either. Was it replaced at some point?

EDIT: my os is Ubuntu 14.04 but all_squash doesn't seem to be available on my OS X 10.11 either.

fakedrake
  • 131
  • 2

1 Answers1

4

all_squash is an export option, to be used on the server.

It's not secure to allow the client to specify how UIDs/GIDs are handled.

Andrew Henle
  • 1,262
  • 9
  • 11