help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Files created with emacs are owned by system


From: Joost Kremers
Subject: Re: Files created with emacs are owned by system
Date: 1 Aug 2008 14:33:58 GMT
User-agent: slrn/0.9.8.1 (Linux)

address@hidden wrote:
> 3. GNU Emacs 21.2.1
[...]
> 8. emacs -Q: unknown option; I also can't find it in the man page.

-Q is a fairly new option. perhaps it was only introduced with emacs 22.

> Most importantly, (probably) it does seem that emacs is running as
> root
> ps -aux | grep emacs:
> root      1805   0.0 -0.2    48104   4548  p2  S+    7:38PM   0:00.36
> emacs
>
> I have no idea why it's doing this or how to change it. If I quit
> emacs and while in the same terminal run "whoami", I'm still iainb.

do:

ls -l $(which emacs)

i'm suspecting that your permissions will be set to 'rws' for the owner,
meaning that the binary is suid (i.e. it runs as the owner of the file, in
this case root, not as the user that's actually started the process.)


-- 
Joost Kremers                                      address@hidden
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)


reply via email to

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