On Thursday 19 December 2002 11:19, shlomo solomon wrote:
> I have a strange problem. Actually, I've solved it, but I don't like the
> solution and I don't like not knowing what's causing it. So maybe someone
> can help.
<snip>
> The problem is that every so often (I don't know when it happens), the
> permission becomes 600 and non-root users can no longer read the file.
> There are also some gz files in the /var/log/mylogs directory (created by
> logrotate). The same thing happens to their permissions too.
>
> My solution was simple - run a cron job to reset the permissions for all
> files in the directory to 644. But, although that works, it seems strange
> that **something** is changing the permissions back to 600.

PAM does that. Read the various settings under /etc/pam.d I had a similar 
problem with certain device files, until I discovered that the settings were 
reset (as part of devfs, IIRC) and would best be set using pam.d settings. 
Oh, the documentation is not for the faint of heart, but once you can 
pinpoint a troublesome line and RTFM, I am sure some list members will gladly 
help you out.;-)

Arie
-- 
It is absurd to seek to give an account of the matter to a man 
who cannot himself give an account of anything; for insofar as
he is already like this, such a man is no better than a vegetable.
           -- Book IV of Aristotle's Metaphysics

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to