public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Hi all, bug or design flaw?
@ 2010-01-22  1:05 Stepan Chatalyan
  2010-01-22  1:12 ` andrew hendry
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Stepan Chatalyan @ 2010-01-22  1:05 UTC (permalink / raw)
  To: linux-kernel

Hi there,

I'm Stepan G. Chatalyan, and i think that I discovered a bug or design
flaw... and I don't know that it is provide from kernel...

Let's see:

(1) I mount /tmp with noexec,nosuid,nodev options

/dev/hda6 on /tmp type ext3 (rw,noexec,nosuid,nodev,relatime)

(2) I went to 'cd /tmp'`and I created a bash script, or another script
(perl, python, etc)... and chmod +x createdfile
script cointain:

#!/bin/bash
echo "Probe..."

(3) I tried to execut it with "./createdfile"
[kehcho@kehcho] [/tmp]$ ./createdfile
-bash: ./createdfile: /bin/bash: bad interpreter: Permission denied

(4) I tried to execute it, but pass to bash ". /tmp/createdfile"

[kehcho@tornadowt] [/tmp]$ . /tmp/createdfile
Probe...

It is a kernel bug or I just report a another one?

BB

-- 
Regards

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-22 11:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22  1:05 Hi all, bug or design flaw? Stepan Chatalyan
2010-01-22  1:12 ` andrew hendry
2010-01-22  1:25 ` Al Viro
2010-01-22  2:00 ` Shu Wu
2010-01-22  2:15   ` Daniel Hazelton
2010-01-22  2:25   ` Américo Wang
2010-01-22 11:30 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox