You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Kitch, David" <dk...@ti.com> on 2003/11/26 17:23:57 UTC

[users@httpd] RESOLVED: Apache changing file permissions

The apache process is running from a host that is not trusted by the
host serving the data.  I'm still open to suggestions on a workaround.

Regards,
David

> -----Original Message-----
> From: Kitch, David 
> Sent: Wednesday, November 26, 2003 9:07 AM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Apache changing file permissions
> 
> 
> I'm using g+s sticky bit to maintain original group 
> ownership.  It does
> work when creating a file with the apache account, but not when the
> apache process writes a file with that same account. 
> 
> 
> > -----Original Message-----
> > From: PINNI, BALANAND (SBCSI) [mailto:bp3965@sbc.com] 
> > Sent: Monday, November 24, 2003 11:09 AM
> > 
> > Sticky bit kept so that only owner only can delete it.
> > 
> > -----Original Message-----
> > From: Kitch, David [mailto:dkitch@ti.com] 
> > Sent: Monday, November 24, 2003 10:45 AM
> > 
> > 
> > I would like group permissions to remain original 
> group-name, per the
> > sticky bit.
> > 
> > Regards,
> > David
> > 
> > > >-----Original Message-----
> > > >From: Kitch, David [mailto:dkitch@ti.com]
> > > >
> > > >I'm running apache with a user account called apache and 
> > group set to
> > > >apache.  When cgi procs create files, the group ownership 
> > > >changes to the
> > > >apache gid, even though the sticky bit is set on file perms.  Any
> > > >suggestions?
> > > 
> > > Apache runs as the user and group defined by the "User" 
> and "Group"
> > > directives. What's the problem? What do you want to happen?
> > > 
> > > 
> > > >
> > > >drwxrwsr-x    2 apache   group-name           4096 Nov 18 04:44 .
> > > >drwxrwsr-x  554 apache   group-name          40960 Nov 
> 17 13:33 ..
> > > >-rwxrwxr-x    1 apache   #apache-gid#        20871 Nov 14 
> > 17:12 test
> > > >
> > > >Regards,
> > > > 
> > > >David Kitch
> > 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org