diff options
-rw-r--r-- | libdiskfs/trans-callback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/trans-callback.c b/libdiskfs/trans-callback.c index 0c2e438c..4d48078a 100644 --- a/libdiskfs/trans-callback.c +++ b/libdiskfs/trans-callback.c @@ -46,7 +46,7 @@ _diskfs_translator_callback_fn (void *cookie1, void *cookie2, newpi = diskfs_make_protid (diskfs_make_peropen (np, (O_READ|O_EXEC - | (diskfs_readonly + | (!diskfs_readonly ? O_WRITE : 0)), *dotdot), uid, 1, gid, 1); |