[darcs-users] ignore failure on setFileTime?

David Roundy droundy at abridgegame.org
Wed Mar 17 13:10:11 UTC 2004


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




More information about the darcs-users mailing list