On Mon, 2005-01-10 at 10:48 +0100, nodata wrote:
Good morning,
I'm having a some permissions trouble with suexec running on Sarge.
I have a virtualhost for a user called Bob which specifies User Bob and
Group Bob in the /etc/apache/conf.d/bob.conf file.
The permissions on /var/www/bob
nodata wrote:
Good morning,
I'm having a some permissions trouble with suexec running on Sarge.
I have a virtualhost for a user called Bob which specifies User Bob and
Group Bob in the /etc/apache/conf.d/bob.conf file.
snip
If I switch user to bob, and run ls -la on /, /var, /var/www, /var/www/bob
Blair Strang wrote:
nodata wrote:
Good morning,
I'm having a some permissions trouble with suexec running on Sarge.
I have a virtualhost for a user called Bob which specifies User Bob and
Group Bob in the /etc/apache/conf.d/bob.conf file.
snip
If I switch user to bob, and run ls -la on /, /var,
discussion of User directive in VirtualHost elided
nodata wrote:
Ah this would explain things more - but then shouldn't running
http://website/cgi-bin/test.pl work? I get the same search permissions
error..
Er, yep, as far as I can see, it should. suEXEC can be a little...
finicky :)
What does
discussion of User directive in VirtualHost elided
nodata wrote:
Ah this would explain things more - but then shouldn't running
http://website/cgi-bin/test.pl work? I get the same search permissions
error..
Er, yep, as far as I can see, it should. suEXEC can be a little...
finicky :)
On Monday 10 January 2005 11:34, nodata wrote:
nodata wrote:
From: http://httpd.apache.org/docs/mod/core.html#user
Special note: Use of this directive in VirtualHost requires a properly
configured suEXEC wrapper. When used inside a VirtualHost in this
manner,
only the user that CGIs
On Monday 10 January 2005 11:34, nodata wrote:
nodata wrote:
From: http://httpd.apache.org/docs/mod/core.html#user
Special note: Use of this directive in VirtualHost requires a
properly
configured suEXEC wrapper. When used inside a VirtualHost in this
manner,
only the user that
nodata wrote:
discussion of User directive in VirtualHost elided
nodata wrote:
Ah this would explain things more - but then shouldn't running
http://website/cgi-bin/test.pl work? I get the same search permissions
error..
Er, yep, as far as I can see, it should. suEXEC can be a little...
finicky
On Monday 10 January 2005 12:05, nodata wrote:
On Monday 10 January 2005 11:34, nodata wrote:
nodata wrote:
Ah this would explain things more - but then shouldn't running
http://website/cgi-bin/test.pl work? I get the same search permissions
error..
Why of course. The server
nodata wrote:
discussion of User directive in VirtualHost elided
nodata wrote:
Ah this would explain things more - but then shouldn't running
http://website/cgi-bin/test.pl work? I get the same search permissions
error..
Er, yep, as far as I can see, it should. suEXEC can be a little...
nodata wrote:
Done. chmod o+rx on:
/var/www/bob
/var/www/bob/htdocs
/var/www/bob/cgi-bin
then running a system(touch /tmp/blairtest) from cgi-bin/test.pl creates
a file with bob:bob permissions.
The other thing to check is that your scripts are physically located under
suEXEC's DOC_ROOT
The problem with this setup is that I have to have o+rx permission on
directories and non-executables, which is a little messy (and I'm not
sure
whether vsftpd can handle this).
Plus everyone on the machine can now read the files.
Ack.
Well, to get /proper/ isolation you have to run
12 matches
Mail list logo