Qmail-LDAP
[Top] [All Lists]

Re: multilog having issues with permissions....

To: qmail-ldap@qmail-ldap.org
Subject: Re: multilog having issues with permissions....
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Tue, 13 Mar 2007 16:34:55 +0059
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <002401c76571$c599cf90$800101df@bob>
Mail-followup-to: qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <002401c76571$c599cf90$800101df@bob>
User-agent: Mutt/1.4.2.2i
Adam French(adamfre@ccrtc.com) on 2007.03.13 09:16:12 +0000:
> The main dir is: 
>  drwxr-xr-x  2 root root 4096 Mar  4 22:52 main

This dir should belong to the user that you run multilog with,
ie. if your multilog run script looks like this

 #!/bin/sh
 setuidgid loguser multilog t ./main

the dir should belong to user "loguser".

> Files within the main directory have these ownerships / permissions:
> -rwxr--r--  1 qmaill root 98054 Mar  4 22:52 @4000000045eb757a17d90c94.s
[...]
> So, I guess my question is, who is supposed to own what, and what is 
> everyone?s
> permission supposed to be set at? 

as above they should all be owned by "loguser" and permissions should be (at
least) u+rwx for the directory (*), files all 744 with the exception of
current and state (644) and lock (600).

When you start with a clean "main"-dir, the files that are created will have
the right permissions.

/B.

(*) other permissions depending on who shall be able to read the logfiles
-- 
Sebastian Benoit <benoit-lists@fb12.de>

Attachment: pgpQ93CIuC6iH.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>