Hi,
I'm running pve-manager/6.3-6/2184247e (kernel: 5.4.106-1-pve) and I have a container running Debian 10. The following command:
Fails with the following message:
Dropping the --user option results in:
The command succeeds if I replace 'root' with a non-root user/group for the --user and --group options.
The following commands also succeed:
Which suggests the problem is with my use of 'pct push'.
Any help is appreciated!
I'm running pve-manager/6.3-6/2184247e (kernel: 5.4.106-1-pve) and I have a container running Debian 10. The following command:
Bash:
sudo pct push "$vmid" ~/share/.bashrc /root/.bashrc \
--user root \
--group root \
--perms 644
Fails with the following message:
failed to get uid for: root
Dropping the --user option results in:
failed to get gid for: root
The command succeeds if I replace 'root' with a non-root user/group for the --user and --group options.
The following commands also succeed:
Bash:
sudo pct exec "$vmid" -- chown root /root/.bashrc
sudo pct exec "$vmid" -- chgrp root /root/.bashrc
Which suggests the problem is with my use of 'pct push'.
Any help is appreciated!