Alessandro Vesely writes:

Sam,
is there a reason why rx permissions are not given to webmail?

First time installations require a link from web space to the relevant executables anyway.

--- courier/perms.or.sh.in      2007-07-01 00:07:21.000000000 +0200
+++ courier/perms.sh.in 2008-09-23 10:54:01.000000000 +0200
@@ -61,7 +61,7 @@
  @libexecdir@/courier/makedatprog      555
  @libexecdir@/courier/imaplogin                555     x       bin     bin
  @libexecdir@/courier/pcpd             555     x       bin     bin
[EMAIL PROTECTED]@/courier/webmail              700     x       root    bin
[EMAIL PROTECTED]@/courier/webmail              755     x       root    bin
  @libexecdir@/courier/webmail/webmail  555     x       root    bin
  @libexecdir@/courier/webmail/webmlm   555     x       root    bin
  @libexecdir@/courier/sqwebmaild               555

Because webmail is started by root. It needs to start as root, of course, in order to drop root to the appropriate uid/gid for each account. Given that it must be started by root, anyway, 700 are the minimum permissions. There's no harm in setting it to 755, however it's always a good idea to set permissions only to the minimum that's required.


Attachment: pgpJGCKukqA5L.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to