Re: mc bug? or i've not read the manuals
On Thu, Jan 21, 1999 at 11:32:54AM -0500, Dale Scheetz wrote:
> I suspect that both of you are editing these files as a user. I suspect
> (but haven't checked) that if you do the edit as root, that the bits will
> stay in place, but another user, who may have write permissions on the
> file should not be able to change the functionality and retain the
> setuidness. This seems like a proper quirk of the permissions system and
> nothing to do with the editor in question.
Unless something has changed, the setuid bit is ignored on scripts
anyway. I just tried to get one working on Linux 2.0.34 for demo
purposes and couldn't. Actually you lose the bit just doing an owner change
as root even.
Hamish Moffatt VK3TYD email@example.com, firstname.lastname@example.org
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org