summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/modules/vfs_recycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/modules/vfs_recycle.c b/source/modules/vfs_recycle.c
index b1b2ac03538..9b31f6afb95 100644
--- a/source/modules/vfs_recycle.c
+++ b/source/modules/vfs_recycle.c
@@ -213,7 +213,7 @@ static BOOL recycle_create_dir(vfs_handle_struct *handle, const char *dname)
char *tok_str;
BOOL ret = False;
- mode = S_IREAD | S_IWRITE | S_IEXEC;
+ mode = S_IRUSR | S_IWUSR | S_IXUSR;
tmp_str = strdup(dname);
ALLOC_CHECK(tmp_str, done);