NYCPHP Meetup

NYPHP.org

[nycphp-talk] Writing a file and ownership

David Mintz dmintz at davidmintz.org
Sat May 7 10:32:03 EDT 2005


On Sat, 7 May 2005, Tim Gales wrote:

>
> "the nobody group, which usually only has one member -- nobody -- should not
> be permitted to own, or write to, any files."
>
> http://www.onlamp.com/pub/a/apache/2004/05/28/apacheckbk.html

It bears mentioning that there are exceptions, as Rich Bowen himself
mentions in that same article.

If your PHP scripts are being executed by nobody and you would like that
nobody to be able to write somewhere for caching purposes, for example...
What alternatives are there besides either making that cache directory
world-writeable, or chowning it to nobody:nobody?

---
David Mintz
http://davidmintz.org/



More information about the talk mailing list