[mount] --bind -o suid/exec/...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hiya,

[context: util-linux 2.16-1ubuntu5 on Ubuntu 9.10, 2.6.31-17-generic]

I can see mount(8) states:

                Note that the filesystem mount options will
		remain the same as those on the original mount
		point, and cannot be changed by passing the -o
		option along with --bind/--rbind.
		

However, one can do for instance:

mount --bind /here /there
mount -o remount,noexec /there

And that works (without affecting /here).

Maybe that would be worth documenting, or better, "mount" could
be changed so that one can do it in a single step with:

mount --bind -o noexec /here /there

What do you think?
-- 
Stephane

P.S. Please note I'm not subscribed to the list.
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux