Read only bind-mount?
Posted
by depesz
on Server Fault
See other posts from Server Fault
or by depesz
Published on 2010-04-28T06:32:56Z
Indexed on
2010/04/28
6:43 UTC
Read the original article
Hit count: 504
I use mount -o bind to mount directories inside chroots, which works really well. The problem is that I'd like some of these bind-mounted directories to be read only in chroot.
Is it possible? If not - any other way to achieve it?
I was thinking about using NFS for localhost mounts, but it looks like overkill.
© Server Fault or respective owner