Privileged Vs Unprivileged

Bishop27

Member
Jul 3, 2024
37
1
8
Hello,
I'm setting up a turnkey file server and I was wondering for easy R/W permissions should I setup the container as privileged? Right now I have it setup as Unprivileged and I tried to change the ownership on a directory and all the files inside but I get a error that says " Failed to change owner: 256" Thank you in advance.
 
Its a security risk to use a privileged container, so the risk vs reward decision is yours to make. Me personally I would search for the instructions posted on this forum somewhere about bind mounting shares into an unprivileged container. The write up details how to map users in the container to users on the host. Then I believe you will be able to set read write permissions on the host machine folder.