Skip to content

Commit b06e184

Browse files
committed
Check write for destination
1 parent 95fe56a commit b06e184

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

os/src/FileOps.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ object hardlink {
372372
object symlink {
373373
def apply(link: Path, dest: FilePath, perms: PermSet = null): Unit = {
374374
checker.value.onWrite(link)
375-
checker.value.onRead(dest match {
375+
checker.value.onWrite(dest match {
376376
case p: RelPath => link / RelPath.up / p
377377
case p: SubPath => link / RelPath.up / p
378378
case p: Path => p

0 commit comments

Comments
 (0)