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

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

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

You must log in to answer this question.

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