• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Centos user permissions problem: forced to 777 lots of files

inado1

Basic Pleskian
Hi,

I use Plesk 11.5.30 with Centos 6.5

For instance, i have the log for mysql (mysqld.log) which is owned by mysql:mysql. the log can't be written if the permissions aren't 777
I also had to switch logs owned by apache:apache to 777.

All tmp folders have to be 777.

Is it possible to give the mysql:mysql and apache:apache permissions of root:root.

I have tried to repair permissions using

for p in $(rpm -qa); do rpm --setugids $p; done
for p in $(rpm -qa); do rpm --setperms $p; done

But then, it changes some tmp folders in 755 and i have to turn them in 777.

According to you, should i change my httpd.conf user to root:root rather than apache:apache? and the user of my.cnf (for mysql) from mysql to root?

In your httpd.conf do you have apache:apache as user?
In your my.cnf do you have mysql as user?

I am lost about users for apache and mysql.

Help would be appreciated.

Thanks.
 
Back
Top