I have changed the setgid and feel confident with that.  I appreciate
your help and I will work on gedit not using root as my group.  I am
not in that group.

[EMAIL PROTECTED] phpApps]# grep daniel /etc/passwd
daniel:x:501:48:Daniel Taualii:/home/daniel:/bin/bash
[EMAIL PROTECTED] phpApps]# grep 48 /etc/group
apache:x:48:apache,<snip>daniel
[EMAIL PROTECTED] phpApps]# usermod -G "" daniel
[EMAIL PROTECTED] phpApps]# grep daniel /etc/group

-Daniel

On 2/2/07, Ryan Simpkins <[EMAIL PROTECTED]> wrote:
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.
*/


/*
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