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: "Adam French" <adamfre@ccrtc.com>
Date: Tue, 13 Mar 2007 22:11:21 -0400
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: <20070313153517.GD56775@mail.webmonster.de>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <002401c76571$c599cf90$800101df@bob> <20070313153517.GD56775@mail.webmonster.de>
Thread-index: AcdlhUxjnKDSRucNQgC8nMZqgJlolgAWKh0g
Thanks!  With your information, I was able to fix the problem.  

Adam


-----Original Message-----
From: Sebastian Benoit [mailto:benoit-lists@fb12.de] 
Sent: Tuesday, March 13, 2007 11:36 AM
To: qmail-ldap@qmail-ldap.org
Subject: Re: multilog having issues with permissions....
Importance: High

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>

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007
7:19 PM
 
  

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.10/720 - Release Date: 3/12/2007
7:19 PM
 


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