Date: Mon, 3 Jul 2000 02:50:03 -0700 (PDT) From: Sheldon Hearn <sheldonh@uunet.co.za> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/19611: ee silently overwrites write-protected files Message-ID: <200007030950.CAA47299@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/19611; it has been noted by GNATS. From: Sheldon Hearn <sheldonh@uunet.co.za> To: gerti-freebsd@bitart.com Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/19611: ee silently overwrites write-protected files Date: Mon, 03 Jul 2000 11:46:27 +0200 On Fri, 30 Jun 2000 14:56:12 MST, gerti-freebsd@bitart.com wrote: > >Description: > ee run under root silently overwrites write-protected files. It would be possible to introduce an extra check for file permissions when ee is run under root, but this would introduce an artificial limit. At the moment, the software expects anyone running as root to be clueful enough to realize that root pays no heed to file permissions. The alternative which you suggests introduces a new frustration -- the "root" user has to bail out of ee to change the access permissions of the file and then restart ee. This would be quite annoying. It _would_ be possible to pop a dialogue up when root is about to save to a file which is read-only. If you feel that this is something you want to work on, I'd suggest that you first chat to the author, High Mahon <h_mahon@fc.hp.com> about whether he wants the software to behave like this, before working on a patch. I think it would be a bad idea for our ee to differ in its interface from the standard ee, which new users often rely on. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007030950.CAA47299>