httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Heal" <th...@pace2020.com>
Subject [users@httpd] CGI permissions on Debian
Date Fri, 12 May 2006 14:29:10 GMT
I am running a Debian 3.1 (sarge) server and the following apache packages
installed:
ii  apache                         1.3.33-6sarge1                 versatile,
high-performance HTTP server
ii  apache-common                  1.3.33-6sarge1                 support
files for all Apache web servers
ii  apache2-utils                  2.0.54-5                       utility
programs for web servers
ii  libapache-dbi-perl             0.94-2                         Connect
apache server to database via perl's DBI
ii  libapache-mod-dav              1.0.3-10                       A DAV
module for Apache
ii  libapache-mod-gzip             1.3.26.1a-8                    HTTP
compression module for Apache
ii  libapache-mod-perl             1.29.0.3-6sarge1
integration of perl with the Apache web server
ii  libapache-mod-php4             4.3.10-16
server-side, HTML-embedded scripting language (apache 1.3 module)
ii  libapache-mod-ssl              2.8.22-1sarge1                 Strong
cryptography (HTTPS support) for Apache
 
I have a java program running on this server. One of the things contained in
it's sar file are some cgi files. During the installation of this program
the original directory gets deleted and the new sar gets expanded, then I
set the permissions on the cgi files. the commands used are
 
chmod -R 755 /path/help/admin
chmod -R g+s /path/help/admin
 
The files are all owned and grouped by the same user.     owner.owner
apache user is www-data
'owner' is in the www-data group
www-data is in the 'owner' group
 
 
Here is my problem. With perms set at 755 the cgi file work fine. once the
g+s is set (2755) the cgi files stop working. This method works on woody,
but I can not see any reason that would make a diff.
 
 
Anyone got any ideas/suggestions/comments that can help?


 
Tony Heal
Pace Systems Group, Inc.
800-624-5999
theal@pace2020.com
 

Mime
View raw message