On Wed, Jan 05, 2011 at 02:44:47PM +0100, [email protected] wrote:
> /dev/mapper/buildServer--1-tmp on /tmp type ext3 (rw,noexec,nosuid,nodev)

wondering why this snippet does not trigger:
DESTDIR="$(mktemp -d ${TMPDIR:-/tmp}/mkinitramfs_XXXXXX)" || exit 1
chmod 755 "${DESTDIR}"
# do not execute cache_run_scripts() if mounted with noexec
NOEXEC=""
fs=$(df $DESTDIR | tail -1 | awk '{print $6}')
if [ -n "$fs" ] && mount | grep -q "on $fs .*noexec" ; then
        NOEXEC=1
fi
 
thanks for the followup, please post also
df /tmp 



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to