I having some issues with LXC container/helper script being unable to mount an external drive on my network. The helper script in question is Navidrome.
After running the helper script., I ...
1. apt update
2. install cifs-utils.
3. edit my /etc/fstab file
4. make the directory on where it is being mapped.
5. mount-a
After the above, I get an error of "mount error(1): Operation not permitted"
In further testing, I will get the same error setting up an unprivileged container. But if will mount correctly if I setup privileged container.
Is there any way to run a helper script as a priviledged container?
EDIT: I got it figured out by running the helper scripts in advance mode where the option is there to set as privileged
After running the helper script., I ...
1. apt update
2. install cifs-utils.
3. edit my /etc/fstab file
4. make the directory on where it is being mapped.
5. mount-a
After the above, I get an error of "mount error(1): Operation not permitted"
In further testing, I will get the same error setting up an unprivileged container. But if will mount correctly if I setup privileged container.
Is there any way to run a helper script as a priviledged container?
EDIT: I got it figured out by running the helper scripts in advance mode where the option is there to set as privileged
Last edited: