> -----Original Message-----
> From: Ron Artstein [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 17, 2003 2:49 PM
> To: Shachar Tal
> Cc: Shachar Shemesh; Haifa Linux Club
> Subject: Re: [Haifux] SOLVED: Permission denied
> 
> 
> > Sometimes, diagnosing things need a leap of thought. It will always
> > require that. :)
> 
> Right. But once you've made the leap of thought, it's nice if you
> can save others from having to make the same leap themselves.
> 
> The best thing is if the system can give a useful diagnostic, say
> something like "Can't execute file on noexec filesystem"; this
> would be much more useful than "Permission denied" or "Operation
> not permitted". However, I realize that performance considerations
> affect the number of possible error codes, so I don't know if this
> is feasible.
> 
> (By the way, is the noexec mount option used for anything other
> than not allowing an executable file to run?)
[rest snipped]

How, exactly? Naturally, noexec is noexec.

Speaking of mount options, any of you with an handy Linux box, please answer
this one:
How does Linux respond when asked to execute an executable with suid bit on,
but when on a nosuid-mounted filesystem?
Is it running with the uid of the executing user? Not running at all? If not
running, is it -EACESS or -EPERM?
What about sgid?

Shachar Tal
Verint Systems



This electronic message contains information from Verint Systems, which may
be privileged and confidential.  The information is intended to be for the
use of the individual(s) or entity named above.  If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of the
contents of this information is prohibited.  If you have received this
electronic message in error, please notify us by replying to this email.

--------------------------------------------------------------------------
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]


Reply via email to