[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] [RaQ4] Running a CGI as a UserName not httpd
- Subject: [cobalt-users] [RaQ4] Running a CGI as a UserName not httpd
- From: "William J.A. Brillinger" <billy@xxxxxxxxxx>
- Date: Mon Jul 29 12:13:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
One of my clients is having trouble getting his CGI to work properly... it
seems that because the cgi is running as httpd it cannot read the data
files as they are owned by user:site#
This was suggested:
------
root could give inital ownership of all
the files to httpd:site2 and as long as
the mask is changed to give group r+w
things should work okay, and user
milosh or whoever should own the files
can still manage (modify and delete) them
as necessary.
...<snip>...
A cleaner solution is to ensure that this instance runs as
user:milosh group:site2 or that its cgi executes as this
user. This keeps things more self contained.
------
How can I set this up so that the CGIs on this site run as the user instead
of httpd?
and/or... how do I do this bit?
"as long as the mask is changed to give group r+w"
- Bill
---------------------------------
William J.A. Brillinger
Precision Design Co.
E-Mail: mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net