[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#865: 23.0.60; The directory is unsafe today
From: |
Lennart Borgman (gmail) |
Subject: |
bug#865: 23.0.60; The directory is unsafe today |
Date: |
Thu, 04 Sep 2008 02:16:07 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Jason Rumney wrote:
> Eli Zaretskii wrote:
>
>> Sorry, I confused myself and thought about a different parameter.
>>
>> Yes, the last argument of LookupAccountSid does tell what type of
>> account is that. But I'm not sure that what you suggest is a good
>> strategy: the fact that the current user is a member of Administrators
>> does not yet mean we can report that user as the file's owner.
>>
>> How about testing the user's primary group in addition to UID? That
>> is,
>> (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.
Then, since it at this times seems like we want to forget about ACL
lists, then perhaps implementing a function for changing owner+group,
like chown, would be best?
bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/02
- bug#865: 23.0.60; The directory is unsafe today, Jason Rumney, 2008/09/02
- bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/02
- bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/03
- bug#865: 23.0.60; The directory is unsafe today, Jason Rumney, 2008/09/03
- bug#865: 23.0.60; The directory is unsafe today,
Lennart Borgman (gmail) <=
- bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/03
- bug#865: 23.0.60; The directory is unsafe today, Jason Rumney, 2008/09/03
- bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/04
- bug#865: 23.0.60; The directory is unsafe today, Jason Rumney, 2008/09/04
- bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/05
bug#865: 23.0.60; The directory is unsafe today, Stefan Monnier, 2008/09/04
bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/05
bug#865: 23.0.60; The directory is unsafe today, Stefan Monnier, 2008/09/05
bug#865: 23.0.60; The directory is unsafe today, Eli Zaretskii, 2008/09/05
bug#865: 23.0.60; The directory is unsafe today, Stefan Monnier, 2008/09/05