emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs on Windows keeps complaining: the directory ... is unsafe.


From: Eli Zaretskii
Subject: Re: Emacs on Windows keeps complaining: the directory ... is unsafe.
Date: Tue, 26 May 2009 06:22:29 +0300

> From: =?windows-1252?Q?=D3scar_Fuentes?= <address@hidden>
> Date: Tue, 26 May 2009 00:42:07 +0200
> 
> It's strange too the file modes string: "drwxrwxrwx" This is not
> consistent with a directory accessible only by the current user
> (Administrator).

Emacs does not yet support the Windows native security when it
computes the mode bits of the files.  So the only thing it pays
attention to is the Read-only bit, which in this case is off, so the
directory is shown as accessible by everyone.

> A cygwin shell shows this:
> 
> address@hidden ~
> $ ls -l .emacs.d/      
> total 1
> d---------+ 2 Administrators None   0 May 26 00:31 server
> ----------+ 1 Administrators None 902 May  7  2008 tramp
> d---------+ 2 Administrators None   0 Feb 17  2007 url
> 
> Have no idea what's going on.

Cygwin does pay attention to the Windows security features, but it
does that in order to emulate Posix user/group/world model, which is
more restricted than Windows ACLs.  For that reason, what Cygwin shows
as mode bits may be incorrect if the file was not created by Cygwin
tools in the first place.

Anyway, this is a different, although related, problem.

By the way, was the .emacs.d directory created originally by some
Cygwin tool?




reply via email to

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