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.

-Ryan

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to