HP3000-L Archives

May 1998, 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:
Jeff Kell <[log in to unmask]>
Reply To:
Jeff Kell <[log in to unmask]>
Date:
Thu, 21 May 1998 19:26:57 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Donna Garverick wrote:
>
> when i try to execute my 'sh' command script, i get the
> following: (the script is the 'sh' udc turned into a command)
>
> :sh.cmd.sys
> CWD is "/TECH/DSG".
> tabs: Unknown terminal "hp2392a".     <<<< 1st problem

And dead giveaway of this infamous problem.

> now obviously some permission is incorrect somewhere
> but i can't find it.  the terminal error is coming from the
> execution of /etc/profile.  i have an hp2392a file in
> /usr/lib/terminfo, with read access for everyone.  if
> i run 'sh' as manager.sys, i don't get the terminal
> error and man works.

You should have 644 or 755 (depending on executable or text) for the
bulk of /etc and /usr.  If permissions on your hp2392a file is OK, then
check the containing directory, etc.  A nice fat chmod -R 644 /usr
should do the trick, and some appropriate changes to /etc as well (there
are some executables here, so a little more care should be taken;
although 555 will do in a rush).

> btw - anyone got a some
> good recommendations for setting up umask?

I like 077, which makes everything you create private by default and you
have to take action to give greater access.  Or 277 if you're paranoid
about deleting something by accident, but that can be cumbersome at
times.

Jeff Kell <[log in to unmask]>

ATOM RSS1 RSS2