• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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