[darcs-devel] [darcs #156] Strange darcs file-writing bug on Mac OS X

David Roundy droundy at abridgegame.org
Sat Jan 1 06:46:57 PST 2005


On Tue, Dec 28, 2004 at 10:52:23PM +0100, Guillaume wrote:
> This could be due to HFS permissions, that complement Unix ones. You 
> can see them with:
> /Developer/Tools/GetFileInfo <file>
> It will output attributes; if they contain an uppercase L, the file is 
> HFS-locked (man GetFileInfo will reveal everything you ever wanted to 
> know about the other attributes).
> Then:
> /Developer/Tools/SetFile -a l <file>

Is there an API we could use to set this, if this turns out to be the
problem? If so, could you send a pointer to where to find the docs for such
an API? Or perhaps some trick we could use to make sure things are set
"right"?
-- 
David Roundy
http://www.darcs.net




More information about the darcs-devel mailing list