Re: [users@httpd] changing owner:group of uploaded data

2012-03-05 Thread Wolfgang Laun
On 5 March 2012 08:06, Steve Swift swi...@swiftys.org.uk wrote: This certainly sounds like a situation for SUEXEC. However, if you need the apache server to assign files to arbitrary user:group then there are two ways that I know of: 1. You could create a SUDO entry which allows apache

[users@httpd] changing owner:group of uploaded data

2012-03-04 Thread Wolfgang Laun
A CGI script creates a file; it should also change it's natural owner and group (daemon.daemon) to the one of the (authenticated) requesting user. Several users should be able to do that. Having read the Apache 2.4 documentation on Suexec I have the impression that this isn't possible at all. Is

Re: [users@httpd] changing owner:group of uploaded data

2012-03-04 Thread Mark Montague
On March 4, 2012 12:33 , Wolfgang Laun wolfgang.l...@gmail.com wrote: A CGI script creates a file; it should also change it's natural owner and group (daemon.daemon) to the one of the (authenticated) requesting user. Several users should be able to do that. Having read the Apache 2.4

Re: [users@httpd] changing owner:group of uploaded data

2012-03-04 Thread Steve Swift
This certainly sounds like a situation for SUEXEC. However, if you need the apache server to assign files to arbitrary user:group then there are two ways that I know of: 1. You could create a SUDO entry which allows apache to use the chown/chgrp command AS root 2. You could create a