Spam templates

EvgeniyS

Member
Aug 3, 2021
3
1
8
45
I am modifying the template for sending the spam report and copying it to '/ etc / pmg / templates'. After run
sudo pmgconfig sync --restart 1
and I get the error 'could not change directory to "/ root": Permission denied'
what am I doing wrong?
 
and I get the error 'could not change directory to "/ root": Permission denied'
what am I doing wrong?
This is usually harmless - the issue is that you run the command while your shell is in '/root' - some of the subcommands run as different user, who does not have access to /root

try : `cd /tmp; pmgconfig sync --restart 1`

I hope this helps!