[SOLVED] pmgconfig - could not change directory - Permission denied

KatyComputer

Active Member
Sep 26, 2019
192
16
38
61
St Louis
katycomputer.com
When running pmgconfig from /root, I am getting an error message. If I run from /, all is well.

What am I doing wrong?

Code:
root@stl-mx:~# cd / ; pmgconfig sync
root@stl-mx:/# cd /root ; 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
root@stl-mx:~# cd / ; pmgconfig sync
root@stl-mx:/#
 
What am I doing wrong?
Nothing

some commands run while executing pveconfig sync do not run as root - and that's the origin of the warning-message:
Those programs cannot access the working directory if it's /root (because they don't have the permission)

This should not affect the working of pveconfig sync

I hope this helps!
 

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!