[darcs-devel] [issue2668] createDirectory: permission denied (Permission denied)

Ben Franksen bugs at darcs.net
Thu Dec 3 09:13:30 UTC 2020

Ben Franksen <ben.franksen at online.de> added the comment:

I cannot reproduce this. I have added the following test script:

ben at home[2]:.../darcs/head>cat
#!/usr/bin/env bash

. lib

trap "chmod +w $forbidden_path" EXIT

rm -rf forbidden
mkdir forbidden
darcs init forbidden/R
chmod -w forbidden
cd forbidden/R
echo text > file
darcs record -l file -am foobar >LOG 2>&1
not grep 'permission denied' LOG
darcs unrecord -a -p foobar >LOG 2>&1
not grep 'permission denied' LOG

This test succeeds for me (screened and darcs-2.16.3).

The only explanation I can offer is that perhaps you have something
strange in your defaults; or perhaps a 'setpref test' which issues this
message (but still succeeds).

Darcs bug tracker <bugs at darcs.net>

More information about the darcs-devel mailing list