Helper Scripts mount drive issue, priviledged container?

ptmuldoon

Well-Known Member
Apr 28, 2012
36
2
48
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
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!