I have my home dir versioned with darcs:
Format: hashed, darcs-2
Cache: thisrepo:/home/gpiero, cache:/home/gpiero/.cache/darcs
Default Remote: maometto.fdc.rm-rf.it:var/local/repos/homedir
Num Patches: 75
Weak Hash: e6084d42f16ae7188225fae534bd9be0fc679adf
Obviously, /home/gpiero is writable by my user, but /home isn't.
Since a while (a few months, I'd guess) I get the following error
whenever I record a patch:
$ darcs record --debug --no-prehook --no-posthook -am foobar .
/home/gpiero-90d5dad8adb19515: createDirectory: permission denied
Failed to record patch 'foobar'
(Full debug output attached).
$ darcs --version
2.16.3 (+ 35 patches)
The 'permission denied' error also occurs when unrecording a patch.
Despite the error (and the 'Failed' message in the recording case), the
patch is correctly recorded/unrecorded, but darcs signals an error and
the posthook commands are not run (in my case that is the real issue, as
the posthook manages permissions and symlinks).