Server Fault is a question and answer site for system and network administrators. 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

We have a media server where all of our audio, etc. is served out of. A few different servers mount a certain directly on the media server. I noticed though, that depending on which server I'm looking at the files from, the owner/group is different.

For example, on the media server, all of the directories are owned by user media. On one of our web servers, all of the directories appear to be owned by the application user. This makes it easy for an application to read and write data to the media server, without having to give 777 permissions to the directory.

How is this possible? I hope this makes sense!

On CentOS 5


share|improve this question
up vote 1 down vote accepted

Every file has a ID number for the user and group, for example, 500.

When you say stat FILE or ls -l it, your system will use its own /etc/passwd to map 500 to a name - that's why you get a different name on a different system.

share|improve this answer

Your Answer


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.