LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] emacs and saving files as root

[ILUG] emacs and saving files as root

P at draigBrady.com P at draigBrady.com
Wed Aug 31 17:16:14 IST 2005


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:

http://www.xemacs.org/Documentation/21.5/html/xemacs_17.html#SEC141

Pádraig.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell