emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use .emacs.d in savehist.el


From: Stefan Monnier
Subject: Re: Use .emacs.d in savehist.el
Date: Tue, 01 Nov 2005 00:12:45 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> When you are root, creating a file or directory in another user's home
> directory is problematic.  The file will be owned by root, and the
> user won't be able to write to it.

He can copy it, remove it, and then replace it, tho, so it's not nearly as
serious as it sounds.  Directories are more problematic.

> I looked into the possibility of making Miles' "find customization
> file" function do a chown and chgrp on the customization file, so that
> this problem won't arise.  But Emacs doesn't have any built-in chown
> or chgrp.  Dired can do it, but it's by calling an external program.

I tend to think that people who use "emacs -u foo" as root just get what
they deserve.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]