Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When writing to NFS directories remotely, what would the permissions of files written be, when both the client and the server use Linux?

Does ls -l show file permissions as seen by the NFS server?

share|improve this question
up vote 1 down vote accepted

The permissions are the same as they would be if you wrote to a local directory. So that would generally depend on your umask, unless the program sets permissions explicitly. And yes, ls -l on the client should show the permissions as they are on the server, unless you have a non-standard server.

share|improve this answer
Unless you are accessing them as root user, where the server usually maps UID 0 to some other UID (called root squash). – Keith Sep 30 '12 at 22:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .