[darcs-users] ignore failure on setFileTime?

Adam Megacz adam at megacz.com
Thu Mar 18 05:54:32 UTC 2004


Thanks!

  - a

David Roundy <droundy at abridgegame.org> writes:
> On Tue, Mar 16, 2004 at 11:46:23PM -0800, Adam Megacz wrote:
>> 
>> Hey, we're getting this error on checkins (--and-apply via ssh):
>> 
>>   Fail: permission denied
>>   Action: setFileTimes
>>   Reason: Operation not permitted
>> 
>> The repo is owned by nobody and all the committers belong the the
>> group used through the repo.  All the directories are g+s.  The
>> problem is that if you're in the group and have g+w, you can
>> modify/delete the file, but you can't alter its mtime.
>> 
>> Can darcs live without the ability to set the mtime on a file when
>> applying a patch?
>
> Yeah, setting the mtime is just an optimization to allow darcs to avoid
> looking at the contents of every file every time you run darcs.  I'm
> uploading a change now that will make darcs ignore failures in setting
> mtime.
> -- 
> David Roundy
> http://www.abridgegame.org
>
> _______________________________________________
> darcs-users mailing list
> darcs-users at abridgegame.org
> http://www.abridgegame.org/mailman/listinfo/darcs-users
>

-- 
"It's lucky," he added, after a pause, "that there are such a lot of
islands in the world.  I almost envy you, Mr. Watson."

                                                   -- Mustapha Mond




More information about the darcs-users mailing list