When the system boots, all filesystems listed in /etc/fstab are expected to mount with all options listed. However, when one filesystem has both quota and noexec options, the noexec option is ignored, while quotas work. If the quota option is removed, noexec will work. Line in /etc/fstab: /dev/md4 /home ext3 noatime,nosuid,noexec,usrjquota=aquota.user,jqfmt=vfsv0 0 0 Output of mount: /dev/md4 on /home type ext3 (rw,noexec,nosuid,noatime,usrjquota=aquota.user,jqfmt=vfsv0) Output of /proc/mounts: /dev/md4 /home ext3 rw,errors=continue,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user 0 0 If I run 'mount -o remount /home', then the output of /proc/mounts becomes: /dev/md4 /home ext3 rw,nosuid,noexec,noatime,errors=continue,data=ordered,jqfmt=vfsv0,usrjquota=aquota.user 0 0 Once I remount the filesystem by hand, everything works as it should. I am having the same results with both of the following kernels: -gentoo-sources-2.6.29-r5 -hardened-sources-2.6.28-r9 During initial setup I used the following stage3 tarball: stage3-amd64-hardened-2008.0 Reproducible: Always Steps to Reproduce: 1. Copy /bin/echo to /home 2. run '/home/echo a' Actual Results: 'a' is echoed to the console Expected Results: bash: /home/echo: Permission denied Portage 2.1.6.13 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.28-hardened-r9 x86_64) ================================================================= System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.3.2 Timestamp of tree: Wed, 22 Jul 2009 23:15:01 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r3 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://gentoo.mirrors.pair.com/ " LDFLAGS="-Wl,-O1" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X509 amd64 berkdb cracklib crypt gftp hardened hpn justify logging midi multilib nls nptl nptlonly pam passwd pic quota readline sftp ssl sysfs tcpd urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
i cant reproduce this with: sys-apps/util-linux-2.16.1 sys-apps/baselayout-1.12.13 sys-kernel/vanilla-sources-2.6.32 # grep quota /etc/fstab /dev/md0 /mnt/raid1 ext3 noatime,nosuid,noexec,usrjquota=aquota.user,jqfmt=vfsv0 0 0 # mount | grep quota /dev/md0 on /mnt/raid1 type ext3 (rw,noexec,nosuid,noatime,usrjquota=aquota.user,jqfmt=vfsv0) # grep quota /proc/mounts /dev/md0 /mnt/raid1 ext3 rw,nosuid,noexec,noatime,errors=continue,data=writeback,jqfmt=vfsv0,usrjquota=aquota.user 0 0 # cp /bin/echo /mnt/raid1/ # /mnt/raid1/echo -bash: /mnt/raid1/echo: Permission denied