Re: suexec permissions

2005-01-17 Thread Zeljko Brajdic
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

Re: suexec permissions

2005-01-10 Thread Blair Strang
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

Re: suexec permissions

2005-01-10 Thread Upayavira
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,

Re: suexec permissions

2005-01-10 Thread Blair Strang
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

Re: suexec permissions

2005-01-10 Thread nodata
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 :)

Re: suexec permissions

2005-01-10 Thread Maarten
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

Re: suexec permissions

2005-01-10 Thread nodata
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

Re: suexec permissions

2005-01-10 Thread Blair Strang
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

Re: suexec permissions

2005-01-10 Thread Maarten
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

Re: suexec permissions

2005-01-10 Thread nodata
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...

Re: suexec permissions

2005-01-10 Thread Blair Strang
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

Re: suexec permissions

2005-01-10 Thread nodata
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