Daniel C. wrote:
On 2/2/07, Jeff Schroeder <[EMAIL PROTECTED]> wrote:
You'll need to upload them to the server as that user. Assuming you're
using SFTP or scp or (yuck) FTP, if you login as the Apache user, the
files you create will be owned by that user.
I'm logging into the server via putty and creating the files with vi
under my own user, which has write access to the document root but is
not the Apache user.
I'd recommend using CVS or some other version control system. Check in
your code as your normal account on a testing only web server, and then
switch to the Apache user and update from CVS on the live web server. In
addition to preserving file ownership, it will also help you in many
other ways.
--Dave
/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/