nfs: all_squash vs. squash_uids/squash_gids
I have a problem setting up an nfs export properly. I use one of the following two directives in the server's /etc/exports (insecure only for testing purposes, where the Xs are my server's IP, user 500:500 owns the directory on the server):
With both directives, I can mount the directory. But only the second one will give me r/w access afterwards.
So all_squash obviously works, while the selective squashing does not. Why isn't it possible to selectively squash my local uid/gid?