开发者

mounting devices not allow binaries

what command will mount device /device/sdal to the mount point /mnt/usb with a filesystem type of ext 3 and not allow binaries execute开发者_开发百科d from the device


mount -t ext3 -o noexec /dev/sda1 /mnt/usb


That should do it:

mount -t ext3 /dev/sda1 /mnt/usb -o noexec


The noexec option should do this. If you're using the user option, noexec is implied.

http://linux.die.net/man/8/mount

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜