Re: user permissions changing without my intervention
From: Matthias Johnson (firstname.lastname@example.org)
From: Matthias Johnson <email@example.com> Date: 18 Mar 2003 11:19:56 -0700
Take a look in /usr/share/msec/perm.*
This is where the Mandrake Security tool (msec) stores it's
information. You can override these by placing lines with a similar
format in /etc/security/msec/security.conf
msec is normally run from cron and the settings in /usr/share/msec are
used to reset permissions and file ownerships to defaults.
"Richard Kimber" <firstname.lastname@example.org> writes:
> I'm a small (2 PCs) home network. I have two accounts on my machine;
> local access is not a security issue - the other user is my wife who only
> understands the Windows that is on her machine.
> In my own account I have a copy of the (large-ish) website that I
> maintain, and I run Apache locally so that I can view the local copy of
> that. My wife only accesses the machine to pick up her email.
> My problem is that , however I seem to set umask via /etc/profile or
> ~/.bash_profile as 022 or 066, periodically something (i.e. presumably
> some program on my PC) re-sets the access permissions on my account to
> drwx------, and Apache complains that it cannot access my webpages. This
> sometimes happens within minutes of my doing a chmod to set it as I need
> My wife's account has the permissions set as I would want them set for
> mine, and the permissions for her account never change. Interestingly,
> her individual profile file contains no umask statement.
> My account was the one originally created when the system was installed.
> I'm running Debian testing with 2.4.19
> What program could be re-setting my access permissions? How do I force it
> to accept what I need?
> - Richard.
-- Matthias Johnson email@example.com http://www.geocities.com/matthiasjbg/