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

Re: mounting /tmp noexec



Alexey Vyskubov <alexey.vyskubov@nokia.com> wrote on 03/01/2002 (09:23) :
> 
> [terrapin] 08:46:52 ~$ sudo mount -o remount,noexec /tmp 
> Password:
> [terrapin] 08:47:11 ~$ touch /tmp/a
> [terrapin] 08:47:14 ~$ chmod +x /tmp/a
> [terrapin] 08:47:17 ~$ ls -l /tmp/a
> -rwxr-xr-x    1 alexey   alexey          0 ñÎ×  3 08:47 /tmp/a
> [terrapin] 08:47:21 ~$ /tmp/a
> bash: /tmp/a: Permission denied
> [terrapin] 08:47:25 ~$ 

what happens if you do:

sh -x /tmp/a

?

-- 
 ()   Join the worldwide campaign to protect fundamental human rights.
'||}
{||'                                           http://www.amnesty.org/



Reply to: