1

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?

1 Answer 1

1

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.

1
  • Unless you are accessing them as root user, where the server usually maps UID 0 to some other UID (called root squash).
    – Keith
    Commented Sep 30, 2012 at 22:37

You must log in to answer this question.

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