summaryrefslogtreecommitdiff
path: root/source3
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
commit6188988e432ea84921bb70b27842f1e911d4ebf7 (patch)
tree394f14201249437c39bf4dd975aef46eb477d0a7 /source3
parent52aa3c5425c14dcb1f2157c04a869673721fc35b (diff)
downloadsamba-6188988e432ea84921bb70b27842f1e911d4ebf7.tar.gz
samba-6188988e432ea84921bb70b27842f1e911d4ebf7.tar.bz2
samba-6188988e432ea84921bb70b27842f1e911d4ebf7.zip
Merge from 3.0:
>Portability fix from Joachim Schmitz. Closes bug #546. (This used to be commit eb9f5c0ec1ad01c05bb8f380f417e6cd2c111ce3)
Diffstat (limited to 'source3')
-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);