No write permession on dataset mounted in a container

TrueNas Scale 25.04
I created a contaniner passing a data set by path /mnt/pbs but inside container root doesn’t have privilege to make a directory inside.

Why?

Regards
Olindo

Because for very sensible security reasons, the container root is NOT the real root.

You need to assign additional permissions to allow the container uid/gid to access the dataset.

2 Likes

https://www.truenas.com/docs/scale/25.04/scaletutorials/instances/#granting-root-access-to-host-paths

1 Like