Subject: bug#865: 23.0.60; The directory is unsafe today

From: Eli Zaretskii <[email-masked]>
Date: Thu, 04 Sep 2008 06:22:05 +0300

> Date: Thu, 04 Sep 2008 07:44:49 +0800
> From: Jason Rumney <[email-masked]>
> CC: [email-masked], [email-masked]
> 
> >   (or (eql (nth 2 attrs) (user-uid))
> >       (and (eq system-type 'windows-nt) (eql (nth 2 attrs) (user-gid)))
> >   
> 
> I am trying to find a solution that will work without Lisp coders 
> needing to be aware of the strange situation on Windows that files can 
> be owned by a group.

I think the only good solution in that venue would be to have a new
primitive for such tests, and implement it on Windows so that it will
cater to this special case.  Any other solution is likely to lie about
the file's security attributes.