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

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

bug#865: 23.0.60; The directory is unsafe today


From: Eli Zaretskii
Subject: bug#865: 23.0.60; The directory is unsafe today
Date: Fri, 05 Sep 2008 13:21:29 +0300

> Date: Fri, 05 Sep 2008 06:51:30 +0800
> From: Jason Rumney <address@hidden>
> CC: address@hidden, address@hidden
> 
> > But in other cases, Emacs could compare the ownership to a UID
> > of some other user, and what will we do then?
> >   
> 
> I can't imagine any Lisp code doing this, as it will not know which 
> other users are on the system.

It's quite easy to enumerate users defined on a system, both on Unix
and Windows.  Also, the user ID could be recorded in a file.  See, for
example, vc-rcs.el, where it checks whether the current user is the
one who locked the file.  (We are lucky that it compares user _names_
rather than UIDs.)






reply via email to

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