persisting file ownership
plug at ryansimpkins.com
Fri Feb 2 13:06:26 MST 2007
On Fri, February 2, 2007 11:46, Daniel wrote:
> I use gedit to edit my php scripts. When I send them to the server
> the owner and group get changed. I want the ownership <apache
> user>.<apache group> to persist. I don't want everyone to read these
> files. What can I do to force the apache user and group to own the
> php scripts?
Might I suggest another alternative...
Create a new group called webgroup or web or www, chgrp all your web files to that
new group, add only the people that should be modifying those files to that group,
and chmod everything so the group can read/write the files.
More information about the PLUG