Package: mount Version: 2.12r-19 Severity: normal
After creating a bind mount with "-o ro" I can still write to the target directory. Repro (notice how I can create a file in the readonly directory): " foo:/tmp# mkdir writable foo:/tmp# touch writable/fluff foo:/tmp# mkdir readonly foo:/tmp# mount -o ro --bind writable/ readonly/ foo:/tmp# ls writable/ readonly/ readonly/: fluff writable/: fluff foo:/tmp# touch readonly/inconceivable foo:/tmp# ls writable/ readonly/ readonly/: fluff inconceivable writable/: fluff inconceivable foo:/tmp# mount | grep writable /tmp/writable on /tmp/readonly type none (ro,bind) " When creating a bind mount with "-o ro" I would like the target directory to be read only. Regards //Johan -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.21-2-686 (SMP w/2 CPU cores) Locale: LANG=sv_SE.ISO-8859-15, LC_CTYPE=sv_SE.ISO-8859-15 (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages mount depends on: ii libblkid1 1.40.2-1 block device id library ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries ii libuuid1 1.40.2-1 universally unique id library mount recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]