diff options
Diffstat (limited to 'init_dir.go')
-rw-r--r-- | init_dir.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init_dir.go b/init_dir.go index 1f5a7fc..ecfec9d 100644 --- a/init_dir.go +++ b/init_dir.go @@ -99,7 +99,7 @@ func initDir(args *argContainer) { // in the root dir if !args.plaintextnames && !args.reverse { // Open cipherdir (following symlinks) - dirfd, err := syscall.Open(args.cipherdir, syscall.O_RDONLY|syscall.O_DIRECTORY|syscallcompat.O_PATH, 0) + dirfd, err := syscall.Open(args.cipherdir, syscall.O_DIRECTORY|syscallcompat.O_PATH, 0) if err == nil { err = nametransform.WriteDirIVAt(dirfd) syscall.Close(dirfd) |