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.

I have a NFS storage where I want to create and modify files from my local machine. On that NFS server there is a user with a group. But when I write a file from some local application to that storage, that file has a different user belonging to a different group. How can I force my local application to pretend to be the user from the NFS machine?

This also causes trouble when I want to modify existing files - I don't have write permissions...

share|improve this question
add comment

1 Answer

You have to force on the server side. On the exports file you have to specify anonuid=xxxx,anongid=xxxx on the option of the directory exports. Replace xxxx with server userid (anonuid) and server groupid (anongid)

omar

share|improve this answer
add comment

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.