-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> -----Original Message-----
> From: thomas [mailto:tfj-online (at mark) mail.tele.dk]
> Sent: Friday, August 01, 2008 2:47 AM
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:13674] Re: apache suexec
>
>
> From: "Stephanie Sullivan"
>
> > Dan,
> >
> > I have a partial solution for you to try:
> > In /etc/httpd/conf/httpd.conf change
> > Group apache
> > to
> > #Group apache
> > And /etc/init.d/httpd restart
> >
> > This seems to be working for me to get the group ownership correct.
> It
> > does
> > not address the wacky umask issue and the files are created as
> owner-only.
> > I
> > have not come across anything it breaks, but no promises.
> >
>
> After commenting out the Group in /etc/httpd/conf/httpd.conf I tried
> to
> upload a new file from a php script
>
> The group was not set to "site29", but to "4294967295", is that ok ?
> (the user is still apache)
>
>
> --
> Thomas Jensen
>
Thomas - I tried my test on another server. I created a directory in the web
root (/web/x) in a valid site with a valid admin user. I protected the
directory a+w so apache could write to it without restriction.
I then ran the following php script in the directory via a http access. It
came from an example on the php.net site:
[alb (at mark) zzzzz x]# more x.php
<?php
$fp = fopen('data.txt', 'w');
fwrite($fp, '1');
fwrite($fp, '23');
fclose($fp);
?>
The script was the only file in the directory before running it. After I
have the file data.txt as is below:
[alb@zzzzz x]# ls -l
total 8
- -rw-r--r-- 1 apache site1 3 Aug 1 08:56 data.txt
- -rw-r--r-- 1 alb site1 89 Aug 1 08:56 x.php
I don't know why it does not seem to work for you in this instance.
Stephanie
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.3 (Build 4028)
Charset: us-ascii
wj8DBQFIkwxtRmFh0h8+YHsRAm+bAJ9yWyX+kGK4F9uIRp6vXGXo4yUeQgCgwC8r
72oDLML9rL7ov2m5qyqgzsk=
=N/il
-----END PGP SIGNATURE-----