Skip to content

Commit 4f4afdb

Browse files
committed
fix: check permisison of alienCache not DefaultAlienCachePath
1 parent a87e019 commit 4f4afdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/cvmfs/automount/automount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func setupCvmfs(o *Opts) error {
169169
alienCache = DefaultAlienCachePath
170170
}
171171
// Make sure the volume is writeable by CVMFS processes.
172-
if err := os.Chmod(DefaultAlienCachePath, 0o777); err != nil {
172+
if err := os.Chmod(alienCache, 0o777); err != nil {
173173
return err
174174
}
175175
}

0 commit comments

Comments
 (0)