Mike Oliver wrote:
> Mike Oliver wrote:
> > [Mandrake 8.2, kernel 2.4.18]
> >
> > Every now and then, without warning and a propos of nothing,
> > the permissions on my /home directory suddenly change to drwx------.
> 
> Upgrading msec to 0.21 fixed the problem.

Spoke too soon, sorry.  The problem is still there in 0.21.

Here's what I think is happening:  In /usr/msec/perm.4, which
presumably is the permissions msec is supposed to set (mask?)
at security level 4, the following lines appear (among others):
  /home/                root.adm                751
  /home/*               current                 700

This should mean (I think) that /home should be owned by root, have
group adm, and have permissions rwxr-x--x, whereas everything *in*
/home should have its current owner and group, and permissions rwx------.

But instead the * is resolved as including the /home directory
itself, and its permissions get reset to rwx------.

I changed the /home/* line to 711, and it now seems to avoid
locking me out of my home directory, but obviously it's not
doing just what it's supposed to be doing.

I am really surprised that no one else seems to have found this
bug.  The only relevant thing I can think of that's different about
my system is that I have /home mounted from its own partition, but
that must be very common.

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to