[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

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!