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 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,