[SOLVED] pmg 6 pmgconfig

fwelvering

New Member
Sep 16, 2019
2
1
3
37
Hi All,

I'm new to pmg en started testing it today with the net version 6.
I changed some settings for postfix from an pmg template.

When i try to apply it by running pmgconfig sync i get the following error(s):
Bash:
root@filter1:~# pmgconfig sync
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied
could not change directory to "/root": Permission denied

What can i do to fix this?
 
hmm - do the messages go away if you change the directory before running `pmgconfig sync`? (`cd /tmp ; pmgconfig sync`)
(I think they are due to your current workdir being '/root' which is not accessible to other users - and a part of `pmgconfig sync` runs as a different user, yielding in those messages)

I hope this helps!
 
hmm - do the messages go away if you change the directory before running `pmgconfig sync`? (`cd /tmp ; pmgconfig sync`)
(I think they are due to your current workdir being '/root' which is not accessible to other users - and a part of `pmgconfig sync` runs as a different user, yielding in those messages)

I hope this helps!
Hi Stoiko,

This does solve the issue, thnx for the reply.
 
  • Like
Reactions: Stoiko Ivanov