Operation not permitted, when restoring privileged to unprivileged lxc

Cigdan

New Member
Jan 13, 2025
1
0
1
When I try to restore a privileged lxc container as unprivileged, I get this error:

Code:
Error: error extracting archive - encountered unexpected error during extraction: error at entry "": failed to leave directory: failed to apply directory metadata: failed to apply extended attributes: Operation not permitted (os error 1)
  Logical volume "vm-103-disk-1" successfully removed.
TASK ERROR: unable to restore CT 103 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- /usr/bin/proxmox-backup-client restore '--crypt-mode=encrypt' '--keyfd=14' ct/103/2025-01-12T22:19:35Z root.pxar /var/lib/lxc/103/rootfs --allow-existing-dirs --repository root@pam@192.168.1.230:backup' failed: exit code 255


This is the lxc config, which has no mount points included as far as I can tell.
Code:
arch: amd64
cores: 2
features: nesting=1
hostname: navidrome
memory: 1024
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:E8:B2:EF,ip=192.168.1.126/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-103-disk-0,size=8G
swap: 512
tags: proxmox-helper-scripts

What could be the reason for this and is there a way to fix this?
 

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!