HP3000-L Archives

January 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Tue, 14 Jan 1997 20:02:00 +0100
Content-Type:
text/plain
Parts/Attachments:
Re: (45 lines)
Hi,

Kim mentioned the 5.5 POSIX Shell permission quirks of
/etc/profile, /etc/motd et al and Jeff already added the
hint re /usr/lib/terminfo/* ...

There are still more, e.g. /usr/man for non-SM users...

Here is a workaround (I stole it from the respective SR),
that can be used to fixup those odd 5.5 permissions. I did
not check if it is also on the "new HPSL" but I guess you
all know the reason why... (by the way, the URL must have
been made up by the inventor of MPEXL_SYSTEM_VOLUME_SET)

;-) Lars (not http://europe-support.external.hp.com)

PS: Pretty fancy example of Posix Shell tricks, isn't it?

...................................................................

1. Restore hfsfiles.hp36431.support from the FOS tape.  (This file
   will be used just to get a list of the files which we need to
   modify).

2. :tobyte.hpbin.sys "hfsfiles.hp36431.support /tmp/tarfile"

3. :SH.HPBIN.SYS -L

   shell/iX> for file in `tar tvf /tmp/tarfile 2>/dev/null |
   >         grep -v '^d' | cut -c 57- `
   >         do
   >         chmod 444 $file
   >         done
   shell/iX> exit

   NOTE: The quote which preceeds tar and follows 57- in the above
         command is the "backward" quote usually found as the top-left
         key on a keyboard and those surrounding the ^d are normal
         single quotes.

4. :purge /tmp/tarfile
   :purge hfsfiles.hp36431.support

...................................................................

ATOM RSS1 RSS2