diff options
author | Tim Potter <tpot@samba.org> | 2003-10-02 23:50:22 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-10-02 23:50:22 +0000 |
commit | b914f2ab6c21eecfc5f1a9e5e80be5f40c1cc819 (patch) | |
tree | ef4bd2ff7e6ef69d1f4b01c5a816c701a7eb20eb /source3 | |
parent | a234b822d4adf22df00349905401deb4349935ac (diff) | |
download | samba-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')
-rw-r--r-- | source3/modules/vfs_recycle.c | 2 |
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); |