HTCondor Project List Archives



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

Re: [Condor-devel] New-style locking



On Dec 17, 2010, at 11:16 AM, Matthew Farrellee wrote:

> On 12/17/2010 11:25 AM, Cathrin Weiss wrote:
> 
>> The uid being currently always the user running the daemon, that is a
>> bug and needs to be fixed - agreed.
> 
> It looks like we don't have access to file owner/group (or even a dummy) on Windows.
> 
> What do you think about not having the uid in the path at all?

I guess it comes down to what you are trying to accomplish:
1) Build a global hash table of the file system in /tmp.  So, the file can only be opened by one person at a time.
2) Build a user-specific hash table.  This way, users can't maliciously interfere with each other.

I don't know enough of the use cases.  What are the cases for sharing locks between multiple-users?  It might just be Friday, but I can't think of any.

Brian

Attachment: smime.p7s
Description: S/MIME cryptographic signature