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
|