1 --- alpine-0.9999/imap/src/osdep/unix/env_unix.c~ 2007-08-16 21:43:35.000000000 +0200
2 +++ alpine-0.9999/imap/src/osdep/unix/env_unix.c 2007-11-05 14:26:20.000000000 +0100
4 /* #public - everybody can read/write */
5 static char *publicHome = NIL; /* public home directory */
6 static long public_protection = /* default public file protection */
7 - S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH;
9 /* default public directory protection */
10 static long public_dir_protection =
11 - S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP|S_IROTH|S_IWOTH|S_IXOTH;
12 + S_IRUSR|S_IWUSR|S_IXUSR;
14 /* #shared/ - owner and group members can read/write */
15 static char *sharedHome = NIL; /* shared home directory */
16 /* default shared file protection */
17 -static long shared_protection = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP;
18 +static long shared_protection = S_IRUSR|S_IWUSR;
19 /* default shared directory protection */
20 static long shared_dir_protection =
21 - S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IWGRP|S_IXGRP;
22 + S_IRUSR|S_IWUSR|S_IXUSR;
24 /* OS bug workarounds - should be avoided at all cost */