PDA

View Full Version : permision error


tasarla
04-23-2009, 03:45 PM
okey plese remove topic

mistwang
04-23-2009, 06:58 PM
Sorry, I still could not understand your English and get an idea what is the problem.
Maybe you should post some pictures.

auser
04-24-2009, 04:59 AM
Hi tasarla,

What I got from your post:
1.you set directory
/public_html/Themes/Night
permission to 644

2.then you start litespeed
you found permission of
/public_html/Themes/Night
has changed to 744

3.but when you start apache instead of litespeed,
the directory's permission won't change -- remain as 644

Please confirm if this is true, so that mistwang can further trouble-shooting the right problem. :)

mistwang
04-24-2009, 07:17 AM
I think you should stop using PHP suEXEC, since PHP run as the user id of the owner of the directory, it can change the permission mask at will, when Apache is used, PHP is running as nobody, so PHP does not have permission to change the permission mask.
The solution to your problem is to disable "PHP suEXEC".

TomBG
04-24-2009, 03:17 PM
I think you should stop using PHP suEXEC, since PHP run as the user id of the owner of the directory, it can change the permission mask at will, when Apache is used, PHP is running as nobody, so PHP does not have permission to change the permission mask.
The solution to your problem is to disable "PHP suEXEC".

PHP runs as the directory owner -- without PHP suEXEC (in LiteSpeed)?