Niall O Broin wrote:
> I've just observed that on certain boxes I have (at least SuSE 9.3, SuSE 8.1
> and Ubuntu Hoary with xemacs) (x)emacs saving files as root causes those
> files to be owned by root.
>> However, on assorted Red Hat boxes wiyh emacs and xemacs, on OS-X with emacs,
> saving files as root causes those files to be owned by their original owner,
> whatever that was. This is the behaviour I'm used to with (x)emacs and is the
> behaviour I expect, but I can't find out how to force it.
>> I have asked great uncle google, and although I find numerous references to an
> emacs FAQ with a section "6.4 Editing files as ROOT" I cannot find the
> actual content, neither on the intarweb nor on any box I have handy.
root is immaterial and not worth googling.
For the record I googled for "emacs vi hardlinks" and got:
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!