Hi,
I am trying to set up two unprivileged containers, one with SSH access, the second with a Samba server.
Both LXCs have bind mount to the same directory on host.
The idea is, I will drop files into the bind-mounted folder from a Windows client using WinSCP though the SSH LXC,
and the files will then be read-only from the Samba LXC when opening through the bind-mounted location on the Samba LXC.
This uses to be the case where the files created by one unprivileged LXC is only readable but not deletable by another unprivileged LXC.
However, now I realize any files created by either the SSH/Samba LXC can now be deleted by the other LXC.
Is this a new behaviour, or did I miss anything?
I wonder if I want to perform what I used to, is there a way to do so?
Many thanks.
I am trying to set up two unprivileged containers, one with SSH access, the second with a Samba server.
Both LXCs have bind mount to the same directory on host.
The idea is, I will drop files into the bind-mounted folder from a Windows client using WinSCP though the SSH LXC,
and the files will then be read-only from the Samba LXC when opening through the bind-mounted location on the Samba LXC.
This uses to be the case where the files created by one unprivileged LXC is only readable but not deletable by another unprivileged LXC.
However, now I realize any files created by either the SSH/Samba LXC can now be deleted by the other LXC.
Is this a new behaviour, or did I miss anything?
I wonder if I want to perform what I used to, is there a way to do so?
Many thanks.
Last edited: