View Single Post
  #1  
Old 12th February 2011, 12:10
awd.pt awd.pt is offline
Member
 
Join Date: Apr 2006
Location: Ericeira/Porugal
Posts: 57
Thanks: 9
Thanked 3 Times in 2 Posts
Send a message via MSN to awd.pt
Default Wrong permissions on web folder

I'm having the following problem.

I'm running latest ISPConfig3 release on CentOS 5.5.

All the sites are running with Fast-CGI and suExec.

Each time I make any modification on a site by SPConfig Panel I have to manually change the perms to 711 on the web folder.

On /etc/group I have this:
Quote:
...
client32:x:5043:apache
...
The output of groups apache shows:
Quote:
apache : apache ispconfig client2 client3 client4 client5 client6 ... client32 ...
The perm on a site when I create are:
Quote:
[root@ISPC30 srmvfr.pt]# ls -l
total 16
drwxr-x--x 2 web60 client35 4096 Feb 10 16:22 cgi-bin
lrwxrwxrwx 1 web60 client35 34 Feb 10 16:22 log -> /var/log/ispconfig/httpd/srmvfr.pt
drwxr-x--x 2 web60 client35 4096 Feb 10 16:22 ssl
drwxrwxrwx 2 web60 client35 4096 Feb 10 16:22 tmp
drwx--x--- 13 web60 client35 4096 Feb 11 12:43 web
[root@ISPC30 srmvfr.pt]#
And I always get a Permission denied until i change them to:
Quote:
[root@ISPC30 srmvfr.pt]# ls -l
total 16
drwxr-x--x 2 web60 client35 4096 Feb 10 16:22 cgi-bin
lrwxrwxrwx 1 web60 client35 34 Feb 10 16:22 log -> /var/log/ispconfig/httpd/srmvfr.pt
drwxr-x--x 2 web60 client35 4096 Feb 10 16:22 ssl
drwxrwxrwx 2 web60 client35 4096 Feb 10 16:22 tmp
drwx--x--x 13 web60 client35 4096 Feb 11 12:43 web
[root@ISPC30 srmvfr.pt]#
Other workaround is to change the group owner of the web directory to apache.

I need help on sorting this out.

I followed the multiserver installation as detailed on the ISPConfig Manual I bought.

I have a dedicated mysql server, that is my multiserver setup.

Thank you in advance,
Sergio Rosa
Reply With Quote
Sponsored Links