25dd917fee
-- With some testing by: naddy@
20 lines
595 B
C
20 lines
595 B
C
--- esd.c.orig Mon Jun 17 05:33:23 2002
|
|
+++ esd.c Fri Jul 19 18:08:06 2002
|
|
@@ -221,12 +221,12 @@ struct stat dir_stats;
|
|
|
|
#if defined(S_ISVTX)
|
|
#define ESD_UNIX_SOCKET_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|\
|
|
- S_IRGRP|S_IWGRP|S_IXGRP|\
|
|
- S_IROTH|S_IWOTH|S_IXOTH|S_ISVTX)
|
|
+ S_IRGRP|S_IXGRP|\
|
|
+ S_IROTH|S_IXOTH|S_ISVTX)
|
|
#else
|
|
#define ESD_UNIX_SOCKET_DIR_MODE (S_IRUSR|S_IWUSR|S_IXUSR|\
|
|
- S_IRGRP|S_IWGRP|S_IXGRP|\
|
|
- S_IROTH|S_IWOTH|S_IXOTH)
|
|
+ S_IRGRP|S_IXGRP|\
|
|
+ S_IROTH|S_IXOTH)
|
|
#endif
|
|
|
|
if (mkdir(ESD_UNIX_SOCKET_DIR, ESD_UNIX_SOCKET_DIR_MODE) == 0) {
|