On Tue, 2 Jul 2002, James wrote:
> I've encountered the same problem since using Bering 1.0 rc3. This is a
> simple permissions problem with the newly created log files if I do a
> 'chmod 644 *' in /var/logs/ then the files are marked read for the adm
> group and weblet will display them.
>
> Not sure how to fix this permanently. The profile has the umask set to
> 022. Yet when the files are rotated they are set to:
> -rw------- 1 root adm 4227 Jul 2 20:30 messages
>
> When they should be:
>
> -rw-r--r-- 1 root adm 4227 Jul 2 20:30 messages
>
> ANyone know where to fix the permissions permantly?
My /etc/cron.daily/multicron-d has:
savelog -g adm -m 640 -u root -c ${lrp_LOGS_DEPTH:-4} $LOG >/dev/null
which gives read access to group "adm". Since /etc/passwd assigns user
sh-httpd to group "adm" (4), when weblet is fired off as user sh-httpd
by /etc/inetd.conf, it can read the files.
I don't know why RC3 isn't working for you... you can compare these points
with your setup and let us know?
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...2k
---------------------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
No, I will not fix your computer.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html