summaryrefslogtreecommitdiffstats
path: root/source/modules
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-09 06:13:11 +0000
committerTim Potter <tpot@samba.org>2003-10-09 06:13:11 +0000
commiteb9f5c0ec1ad01c05bb8f380f417e6cd2c111ce3 (patch)
tree2a393950b1c106ac6265ef0c0fac818be9d1d37b /source/modules
parente071567eeaec61a9e59c16117e29995bc8653cc0 (diff)
downloadsamba-eb9f5c0ec1ad01c05bb8f380f417e6cd2c111ce3.tar.gz
samba-eb9f5c0ec1ad01c05bb8f380f417e6cd2c111ce3.tar.xz
samba-eb9f5c0ec1ad01c05bb8f380f417e6cd2c111ce3.zip
Merge from 3.0:
>Portability fix from Joachim Schmitz. Closes bug #546.
Diffstat (limited to 'source/modules')
-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);