Search results

  1. P

    Scripted permissions for container mount point not right

    Here's a working container for Apache+WebDAV with a test, based on what I've learned, and some copy/paste from other people's code: pct create 901 local:vztmpl/debian-10-standard_10.5-1_amd64.tar.gz \ --cores 2 --net0 name=eth0,bridge=vmbr0,ip=dhcp --rootfs local-lvm:8 \ --features...
  2. P

    Scripted permissions for container mount point not right

    Hmmmm, I've been able to determine the UID of a test file in the container (33) and in bash add 100000 to that, then on the host (scripted): $ mkdir /root/mydav $ chown 100033 /root/mydav $ stat -c '%g' /root/mydav 0 .. which isn't what I expected. I though that would have shown 100033 not...
  3. P

    Scripted permissions for container mount point not right

    Thanks a bunch - will report back with the script from the OP further modified :)
  4. P

    Scripted permissions for container mount point not right

    What would I pass to pct-exec to achieve that? chgrp? or something I have even less experience with?
  5. P

    Scripted permissions for container mount point not right

    Dammit, the pct-create line was truncated above. Here's the full line: pct create 901 local:vztmpl/debian-10-standard_10.5-1_amd64.tar.gz --cores 2 --net0 name=eth0,bridge=vmbr0,ip=dhcp --rootfs local-lvm:8 --features nesting=1 --unprivileged 1 Or is it screenshots of the result from the...
  6. P

    Scripted permissions for container mount point not right

    I've a pct using script for Debian 10.6 that attempts mount a host directory in the container: pct create 901 local:vztmpl/debian-10-standard_10.5-1_amd64.tar.gz --cores 2 --net0 name=eth0,bridge=vmbr0,ip=dhcp --rootfs local-lvm:8 --features nesting=1 --$ echo Doing dav mountpoint ... mkdir...