xfs
[Top] [All Lists]

Re: Bad permissions with SGI XFS 1.01 Redhat 7.1 install

To: Ray Muno <muno@xxxxxxxxxxx>
Subject: Re: Bad permissions with SGI XFS 1.01 Redhat 7.1 install
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Mon, 01 Oct 2001 13:41:46 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <20011001112251.A21559@aem.umn.edu> <20011001113717.P10348@sgi.com> <20011001132323.E24742@aem.umn.edu>
Sender: owner-linux-xfs@xxxxxxxxxxx
Ray Muno wrote:
> 
> Thanks,  three replies in very short order.
> 
> I ran the fix-perms script and that is fine.
> 
> I am a little confused about the updates disk.  I am using kickstart to
> do the installs.  How do I incorporate the update floppy in to that
> procedure?  I boot from the SGI XFS 1.01 install CD and do a "linux ks".

I think you can add the fix-perms script to run in the post-install section of
the kickstart?
 
> If this is truly a problem with the underlying kernel, will it cause
> problems beyond install time? I see that Redhat explicitly sets umask
> to 022 in /etc/rc.d/init.d/functions and calls that in the init scripts.
> Is there a danger of other things running as root creating files that
> are mode 666?  Is there a kernel patch to fix the problem for the running
> machines.

Since the umask is explicitly set on a normal bootup, you shouldn't run into
problems down the line.  The installer was not doing this, so files created
during the install had the wrong perms.

The bug was fixed in 2.4.7-pre7, I'm not sure where the fix was or where a patch
might be.

-Eric


-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.


<Prev in Thread] Current Thread [Next in Thread>