Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.