Originally reported at <https://bugs.debian.org/944673>. @jwilk writes: > If the file specified by the --ro-bind-data option doesn't exist yet, > bubblewrap creates it as world-writable: > > $ umask > 0077 > > $ ls ~/moo > ls: cannot access '/home/jwilk/moo': No such file or directory > > $ bwrap --ro-bind / / --bind ~ ~ --ro-bind-data 0 ~/moo -- true < /dev/null > > $ ls -l ~/moo > -rw-rw-rw- 1 jwilk users 0 Nov 13 15:51 /home/jwilk/moo > > > This is bad when the directory for the ro-bind-data file is shared between the > host and the container, as in the example above.
Activity
Create files as mount points with read-only permissions
Create files as mount points with read-only permissions
Create files as mount points with read-only permissions
Create files as mount points with read-only permissions