NYCPHP Meetup

[nycphp-talk] Webserver file access

Anthony Wlodarski aw at sap8.com
Fri Aug 17 14:25:23 EDT 2007


Let us talk about theoretical here.  If the owner of the web root folder is
"root" (/var/www/html), should it be changed to the Apache group that is
created normally.  I did a few checks in the /etc/group file and the apache
group does exist as well my account on the box is part of that group, should
the web root group be changed apache to make sure that only users of the
Apache group have controls?

 

Anthony Wlodarski

Senior Technical Recruiter

Shulman Fleming & Partners

646-285-0500 x230

aw at sap8.com

 

From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Adrian Noland
Sent: Friday, August 17, 2007 12:48 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Webserver file access

 

On 8/17/07, wkamm at rvyriptide.org <wkamm at rvyriptide.org> wrote:

Can your userid have access to the web site's directory?  You can then use
WinSCP to copy the files there directly, and avoid using PuTTY. 



Another way to do essentially the same noted above:
Have your administrator add you to the group for the web root directory, in
my case the apache group, as well as g+w perms. Add the line 'newgrp apache'
to your profile and presto, permissions to move and delete files around. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070817/449dc014/attachment.html>


More information about the talk mailing list