Issue with permissions in /etc after pct restore

vistule3

New Member
Nov 6, 2024
1
0
1
Hello everyone,

I installed Proxmox VE on top of a running Debian Bookworm 64-bit.

When I use the `pct restore` command to restore a container, the permissions on the `/etc` directory in the container are not correct. They are set to `750` instead of `755`. This causes an error when I switch from root to another user.
It seems that this permissions issue on `/etc` prevents non-root users from accessing certain necessary files, leading to a "Permission denied" error :

2024-11-06_15-26.jpg

Does anyone know how to fix this permission issue or why `pct restore` might be setting `/etc` to `750` instead of `755`?

What’s odd is that this problem didn’t happen with Proxmox 6, which I had installed via the official ISO. Also, I’ve double-checked that the permissions in the archive files I’m restoring are set correctly to 755 on '/etc', so it seems like something in the pct restore process or the Proxmox environment might be changing them.

Thanks for any help!

Code:
# pveversion
pve-manager/8.2.4/faa83925c9641325 (running kernel: 6.8.8-2-pve)

# cat /etc/debian_version
12.7
 
Last edited:

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!