This commit is contained in:
swrup 2025-11-11 02:07:51 +01:00
parent aa2ff7b2f0
commit 2f3113f55d
11742 changed files with 1223940 additions and 0 deletions

View file

@ -0,0 +1,19 @@
$ cat > dune-project <<EOF
> (lang dune 2.9)
> EOF
$ cat > dune <<EOF
> (rule
> (targets a b)
> (action (bash "echo content > a; chmod -r a; ln -s foo b")))
> EOF
$ dune build b
File "dune", lines 1-3, characters 0-84:
1 | (rule
2 | (targets a b)
3 | (action (bash "echo content > a; chmod -r a; ln -s foo b")))
Error: Error trying to read targets after a rule was run:
- a: Permission denied
- b: Broken symbolic link
[1]