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?
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