• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question change access rights /var/log/maillog

sandi44

New Pleskian
hello

i want to monitor the logfile /var/log/maillog.
so that the user has access to the file, the rights should be adjusted.

every night the file will be recreated ( logrotate? )

-rw-r-----. 1 root root 287951 15 Oct 06:27 /var/log/maillog

the goal would be that the file permissions are 644

how or where can i set this?

thanks
 
Your only option here would be to make the file world readable, like -rw-r--r--, however this means that every user account on the system can potentially read it. Maybe you should rather copy it by a script run by root and provide your user with a copy of the file that has appropriate permissions?
 
Back
Top