Search results for query: idmap

  1. K

    understanding uid/gid mapping

    ...privileged CT (LXC?) seems like there is no mapping 0 in CT is 0 on host and so on Unprivileged CT's in /var/lib/lxc/<ID>/config there is lxc.idmap u and g lxc.idmap = u 0 100000 65536 lxc.idmap = g 0 100000 65536 There seems to be another config file /etc/pve/lxc/<ID>.conf it doesn't seem...
  2. S

    weird mount permissions

    ...some of which are.. - Add UID and GID Mapping to the appropriate lxc.conf, something like below. *Slightly more effort but best balance lxc.idmap: u 0 100000 1000 lxc.idmap: g 0 100000 1000 lxc.idmap: u 1000 1000 1 lxc.idmap: g 1000 1000 1 lxc.idmap: u 1001 101001 64535 lxc.idmap: g 1001...
  3. S

    Install Immich in LXC and map ZFS storage

    The mapping is actually unnecessary, and I feel there is a better way to do it. All you have to do is recursively "chown" the zfs dataset to the UID/GID the program on the container is using to write + 100000 So if the user (on the container) is immich:immich (just an example here), and say...
  4. B

    Just another GPU passthrough thread: iGPU for one LXC + dGPU for another (or split to even more)?

    ...c 226:0 rwm lxc.cgroup2.devices.allow: c 226:128 rwm lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file lxc.idmap: u 0 100000 65536 lxc.idmap: g 0 100000 44 lxc.idmap: g 44 44 1 lxc.idmap: g 45 100045 62 lxc.idmap: g 107 104 1 lxc.idmap: g 108 100108 65428...
  5. K

    Install Immich in LXC and map ZFS storage

    ...with your container ID) and add or modify the following lines to map UID/GID 1000 in the container directly to UID/GID 1000 on the host: lxc.idmap: u 0 100000 1000 lxc.idmap: g 0 100000 1000 lxc.idmap: u 1000 1000 1 lxc.idmap: g 1000 1000 1 lxc.idmap: u 1001 101001 64535 lxc.idmap: g 1001...
  6. M

    [SOLVED] [SOLVED] Bind mount permissions not working.

    ...but I am getting this error: lxc-start -F -n 100 lxc-start: 100: ../src/lxc/idmap_utils.c: lxc_map_ids: 245 newuidmap failed to write mapping "newuidmap: write to uid_map failed: Invalid argument": newuidmap 34361 0 100000 1005 0 100000 1005 lxc-start: 100: ../src/lxc/start.c: lxc_spawn: 1795...
  7. R

    Another Intel Alder Lake igpu passthrough post (Plex)

    ...c 226:0 rwm lxc.cgroup2.devices.allow: c 226:130 rwm lxc.mount.entry: /dev/dri/renderD130 dev/dri/renderD130 none bind,optional,create=file lxc.idmap: u 0 100000 65536 lxc.idmap: g 0 100000 44 lxc.idmap: g 44 44 1 lxc.idmap: g 45 100045 62 lxc.idmap: g 107 104 1 lxc.idmap: g 108 100108 65428...
  8. V

    Another Intel Alder Lake igpu passthrough post (Plex)

    ...onboot: 1 ostype: ubuntu rootfs: local-zfs:subvol-102-disk-0,size=120G searchdomain: 192.168.50.252 swap: 512 unprivileged: 1 lxc.idmap: u 0 100000 1005 lxc.idmap: g 0 100000 1005 lxc.idmap: u 1005 1005 1 lxc.idmap: g 1005 1005 1 lxc.idmap: u 1006 101006 64530 lxc.idmap: g 1006 101006 64530...
  9. K

    [SOLVED] lxc mountpoint mapping existing uid,gid to another internal id

    ...on host> -R path/to/dir other/file cd pct unmount <ID> found here https://forum.proxmox.com/threads/problems-using-a-mount-point-and-lxc-idmap.77370/post-348839 This is a much better method of looking into the container mount. I can see the mountpoint and it's ids and I can mount while it's...
  10. G

    Moint Point eines LXC mit in die Sicherung aufnehmen

    ...onboot: 1 ostype: debian rootfs: RAID5:150/vm-150-disk-1.raw,size=64G swap: 512 tags: cloud;community-script unprivileged: 1 lxc.idmap: u 0 100000 1000 lxc.idmap: g 0 100000 1000 Installiert ist: PVE 8.4.1 Ich könnte NextcloudPi neu installieren und das Root-Disk auf 2 TB oder so stellen...
  11. S

    [SOLVED] proxmox won't connect to SMB share

    ...17 21:23:11 2025] netfs: FS-Cache loaded [Thu Apr 17 21:23:12 2025] Key type cifs.spnego registered [Thu Apr 17 21:23:12 2025] Key type cifs.idmap registered [Thu Apr 17 21:23:12 2025] CIFS: No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g...
  12. E

    [SOLVED] ZFS permission and ownership problems

    ...Made r2d2 owner of all the files and folders in the Bigdata ZFS pool. Permissions set to 666 on all files and folders in Bigdata. Did a lxc.idmap to map c3po to r2d2 in the LXC. LXC config: arch: amd64 cores: 1 features: nesting=1 hostname: SambaShares memory: 2048 mp1...
  13. E

    [SOLVED] Problems with unpriviliged LXC container and user rights

    For all after me: this is the right UID mapping for /etc/pve/lxc/101.conf: lxc.idmap: u 0 100000 33 lxc.idmap: g 0 100000 33 lxc.idmap: u 33 33 1 lxc.idmap: g 33 33 1 lxc.idmap: u 34 100034 65501 lxc.idmap: g 34 100034 65501
  14. leesteken

    again about the lxc permission

    You did not allow root to map the host user 1005. Make sure that root:1005:1 is present in /etc/subuid and /etc/ subgid. Lines in the container configuration file should use :. I did not know Proxmox fixes that for you automatically.
  15. G

    again about the lxc permission

    I've tried to test something like that for jellyfin: lxc.idmap = u 0 100000 110 lxc.idmap = g 0 100000 118 lxc.idmap = u 110 1005 1 lxc.idmap = g 118 1005 1 lxc.idmap = u 111 100111 65425 lxc.idmap = g 119 100119 65417 and by changing on the host: in /etc/subuid add root:110:1 in /etc/subgid...
  16. G

    again about the lxc permission

    ...config: # uid map: from uid 0 map 1005 uids (in the ct) to the range starting 100000 (on the host), so 0..1004 (ct) → 100000..101004 (host) lxc.idmap = u 0 100000 1005 lxc.idmap = g 0 100000 1005 # we map 1 uid starting from uid 1005 onto 1005, so 1005 → 1005 lxc.idmap = u 1005 1005 1...
  17. R

    [Guide] Jellyfin + remote network shares + HW transcoding with Intel's QSV + unprivileged LXC

    ...c 226:0 rwm lxc.cgroup2.devices.allow: c 226:128 rwm lxc.mount.entry: /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file lxc.idmap: u 0 100000 65536 # map UID root to root lxc.idmap: g 0 100000 27 # map groups up to 27 as normal lxc.idmap: g 27 44 1 #...
  18. B

    Can't correctly bind mount points (nobody nogroup error)

    ...swap: 2048 unprivileged: 1 lxc.cgroup2.devices.allow: c 10:200 rwm lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file lxc.idmap: u 0 100000 1000 lxc.idmap: g 0 100000 1000 lxc.idmap: u 1000 1000 1 lxc.idmap: g 1000 1000 1 lxc.idmap: u 1001 101001 64535 lxc.idmap: g 1001 101001...
  19. E

    [SOLVED] Problems with unpriviliged LXC container and user rights

    ...onboot: 1 ostype: ubuntu rootfs: container-zfs:subvol-101-disk-0,size=20G swap: 8192 unprivileged: 1 lxc.idmap: u 0 100000 33 lxc.idmap: g 0 100000 33 lxc.idmap: u 33 33 1 lxc.idmap: g 33 33 1 lxc.idmap: u 34 100034 64530 lxc.idmap: g 34 100034 64530 I have adjusted the subuid and subgid...
  20. S

    Access via nfs bindmount in an unprivileged LXC

    ...without success, i.e.: 1) groupmod -g 100100 immich_nas && usermod -aG immich_nas root 2) different combinations of id_mappings (lxc.idmap = u 0 1003 1, lxc.idmap = g 0 100 1) in the container .conf plus /etc/subuid & /etc/subgid inside the LXC-container But I didn't find the right...