[Techtalk] something is changing /home permissions automatically?

Brenda Bell k15a-list-linuxchix at theotherbell.com
Tue Apr 1 23:17:29 EST 2003


Quoting Jenny Brown <jenny at bigbrother.net>:

> I'm working on a Mandrake box where I'm one of two sysadmins, it's a
> low
> usage box, and I'm finding that something is forcing /home to be
> chmod 711 every few hours.  I can set a person's home directory
> readable (755) but then a few hours later it's set back, and not due to
> that individual user or due to the other admin.

I had this same problem for months before I figured out what was happening.
 If your problem is the same as mine, the permissions are getting reset by
msec.  By default, there are certain directories that have "fixed"
permissions and ownership... if you change them, eventually msec will
change them back.  You can configure the permissions for selected
directories in /etc/security/msec/perm.local.  The structure of the file is
pretty simple... adding the following line should fix your problem.

    /home    root.root     755

-- 
Brenda
http://opensource.theotherbell.com



More information about the Techtalk mailing list