summaryrefslogtreecommitdiff
path: root/source/profile
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-12-19 00:31:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:41 -0500
commitf00ae4ab0c36a623257861fb65373b39cf075921 (patch)
tree170eca8cb79c0bca01219f70c8bd7054b036c4dc /source/profile
parent82b9faaaa2e1e2986a15102605739e7d13885ac6 (diff)
downloadsamba-f00ae4ab0c36a623257861fb65373b39cf075921.tar.gz
r4268: Merge fix for bugzilla #2150.
Diffstat (limited to 'source/profile')
-rw-r--r--source/profile/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c
index 689f67da997..e6d34e68cda 100644
--- a/source/profile/profile.c
+++ b/source/profile/profile.c
@@ -22,7 +22,7 @@
#include "includes.h"
#ifdef WITH_PROFILE
-#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
+#define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH)
#endif /* WITH_PROFILE */
#ifdef WITH_PROFILE