in reply to nms wwwboard ownership silliness
What's happening is that the file is being created by the web server account (which happens to be called "nobody" on your server).
If the file had existed previously, and had been owned by some other account (eg you), then the logical approach would be that the web server simply truncates and rewrites the content of the file, without deleting it completely -- this would mean that you would retain ownership. But for this to work, you need to grant write permission to "nobody" for the file you own, so the web server account can modify it.
Then again, maybe this service doesn't take that approach, and somehow manages to always create a new file, which must therefore be owned by "nobody". In that case, the process that creates the file must also do a "chgrp" to associate it with a user group that you are also a member of, and then set group write permission on the new file.
(If the directory has the appropriate group ownership, and its "set-group-id" mode flag is set, the group ownership of the file will be set automatically, and the file creation process only needs to set group write access.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: nms wwwboard ownership silliness
by sgifford (Prior) on Sep 20, 2005 at 03:08 UTC | |
|
Re^2: nms wwwboard ownership silliness
by Anonymous Monk on Sep 20, 2005 at 14:01 UTC |