Problem in files owners with backup/restore

proxbob

Member
May 15, 2016
20
0
21
59
Hi,

I have found a problem:

I have a debian LXC container, unprivelegied,
I backup it in stop mode from the web GUI,
I restaure it to another ID,
I stop the first and start the new LXC,
Now, I can't access ssh on the new LXC, I then connect to proxmox host and "pct enter ID", I get this :
-----------
root@hostname:~# pct enter XXX
bash: /root/.bashrc: Permission denied
root@lxc:~#
-----------

I think when extracting files the files owners have not been set correctly because :
-------------
root@lxc:/# ls -alh /
total 88K
drwxr-xr-x 22 nobody nogroup 4.0K Dec 22 23:06 .
drwxr-xr-x 22 nobody nogroup 4.0K Dec 22 23:06 ..
drwxr-xr-x 2 nobody nogroup 4.0K Dec 12 14:44 bin
drwxr-xr-x 2 nobody nogroup 4.0K Mar 13 2016 boot
drwxr-xr-x 3 root root 340 Dec 22 23:06 dev
drwxr-xr-x 70 nobody nogroup 4.0K Dec 22 23:06 etc
-rw-r--r-- 1 root root 0 Dec 22 23:06 fastboot
.............
-------------

I'm using the latest version with latest kernel.

Regards,
 
I was using pve-container: 1.0-88, now I did an apt-get update && apt-get upgrade && apt -get dist-upgrade, and did all the steps described but with the same problem.

------------
~# pveversion -v
proxmox-ve: 4.4-76 (running kernel: 4.4.35-1-pve)
pve-manager: 4.4-2 (running version: 4.4-2/80259e05)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.35-1-pve: 4.4.35-76
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-4.2.8-1-pve: 4.2.8-41
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-48
qemu-server: 4.0-102
pve-firmware: 1.1-10
libpve-common-perl: 4.0-84
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-70
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.4-1
pve-qemu-kvm: 2.7.0-9
pve-container: 1.0-89
pve-firewall: 2.0-33
pve-ha-manager: 1.0-38
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.6-2
lxcfs: 2.0.5-pve1
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
zfsutils: 0.6.5.8-pve13~bpo80

~# pct enter XXX
bash: /root/.bashrc: Permission denied
root@lxc:~#
------------
 
I repeated all the steps as I sayed, I deleted the new lxc AND the backup, created a new backup and restored it, the problem remain the same.
 
I repeated all the steps as I sayed, I deleted the new lxc AND the backup, created a new backup and restored it, the problem remain the same.

Right, I am now also able to reproduce it. Please can you open a bug at bugzilla.proxmox.com?
 
Hi,
is that problem fixed? I still have that problem!!! Exits a workaround to set the ownership correctly afterwards?
Reargds Ronny