S
spincoding
Guest
Hello all,
I have a bit of a problem; for reasons still unknown to me, we won't use PHP through CGI on our hosted domains on our Plesk server. As I wanted to make sure noone should ever use 0777 permissions again, I wanted to add the "psacln" group to the "apache" user. Unfortunately, I forgot the -a argument in the usermod call (usermod -G psacln apache). So it appears all other secondary groups have been removed from the user!
So, now I get 403 forbidden errors on every website. I re-added all groups to the apache user I could think of, which are : apache, psaserv, psacln, which made every website work again, but there are a lot of weird issues popping up here and there (mostly due to caching and the removal of cached files by the apache user)
Could someone let me know which should be the correct primary & secondary groups for the apache user - so I can make sure they're back to their correct state?
FYI, we are running Plesk 9.3.0 on centOS 5 (and also 10.3.1 on Ubuntu, where I also managed to make this mistake after I thought it worked on the other server. On Ubuntu, the apache user is called www-data)
It's a really stupid problem - I know. Didn't think this one through .. !
Thank you for any help in this matter!
Kind regards,
Steven
I have a bit of a problem; for reasons still unknown to me, we won't use PHP through CGI on our hosted domains on our Plesk server. As I wanted to make sure noone should ever use 0777 permissions again, I wanted to add the "psacln" group to the "apache" user. Unfortunately, I forgot the -a argument in the usermod call (usermod -G psacln apache). So it appears all other secondary groups have been removed from the user!
So, now I get 403 forbidden errors on every website. I re-added all groups to the apache user I could think of, which are : apache, psaserv, psacln, which made every website work again, but there are a lot of weird issues popping up here and there (mostly due to caching and the removal of cached files by the apache user)
Could someone let me know which should be the correct primary & secondary groups for the apache user - so I can make sure they're back to their correct state?
FYI, we are running Plesk 9.3.0 on centOS 5 (and also 10.3.1 on Ubuntu, where I also managed to make this mistake after I thought it worked on the other server. On Ubuntu, the apache user is called www-data)
It's a really stupid problem - I know. Didn't think this one through .. !
Thank you for any help in this matter!
Kind regards,
Steven
Last edited by a moderator: