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>
pgpQ93CIuC6iH.pgp
Description: PGP signature
|