• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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