summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-10-02 23:50:22 +0000
committerTim Potter <tpot@samba.org>2003-10-02 23:50:22 +0000
commitb914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819 (patch)
treeef4bd2ff7e6ef69d1f4b01c5a816c701a7eb20eb /source3/modules
parenta234b822d4adf22df00349905401deb4349935ac (diff)
downloadsamba-b914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819.tar.gz
samba-b914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819.tar.bz2
samba-b914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819.zip
Portability fix from Joachim Schmitz. Closes bug #546.
(This used to be commit 803ae4517265e4bb4639c4966e104b392913c7c0)
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_recycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_recycle.c b/source3/modules/vfs_recycle.c
index b1b2ac0353..9b31f6afb9 100644
--- a/source3/modules/vfs_recycle.c
+++ b/source3/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);