[SPARCbook] Shell? (Fixing /usr permissions)

patl at phoenix.volant.org patl at phoenix.volant.org
Mon Jan 24 15:51:23 CST 2000


On 24-Jan-00 at 11:35, Lion Templin (ltemplin at monolith.leonine.com) wrote:
> On Mon, 24 Jan 2000 patl at phoenix.volant.org wrote:
> 
> > >      with little success.  In the end I pulled the drive and mounted
> > >      the root partition on another box.
> > 
> > 1. Boot single-user
> > 2. mount /dev/mumble /mnt     # Where 'mumble' is your usr partition
> > 3. /mnt/bin/chmod go+rx /usr
> > 4. umount /mnt
> > 5. Go multi
> 
> As I recall it can't find the libraries if you do that.  (in /usr/lib)

Oops, right.  Make that:

3. LD_LIBRARY_PATH=/mnt/lib /mnt/bin/chmod go+rx /usr

If that doesn't work, you may need to split the environment setting
into a separate command.  (This will only be necessary if the library
resolution occurs in the shell's environment rather than the child's.)


-Pat






More information about the SPARCBook mailing list