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

KatyComputer

Well-Known Member
Sep 26, 2019
196
16
58
62
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!