Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171704

LXC idmap bug

$
0
0
After applying the following configuration to an Alpine LXC, mapping uid & gid from 0(root) CT to 1070(nextcloud) host. All files ownerships are shifted 1 place!
What's going on here?

Code:
lxc.idmap: u 0 1070 1
lxc.idmap: u 1 100000 65535
lxc.idmap: g 0 1070 1
lxc.idmap: g 1 100000 65535

Code:
alpine-nextcloud:~# getent passwd
root:x:0:0:root:/root:/bin/sh
bin:x:1:1:bin:/bin:/sbin/nologin

Before
Bash:
alpine-nextcloud:~# ls -las /
total 184
     8 drwxr-xr-x   19 root     root...

Read more

Viewing all articles
Browse latest Browse all 171704

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>