umask help [SOLVED]

George Goodman georgegoodman at gmail.com
Mon Aug 28 03:39:15 PDT 2006


Hey Dave,

On 8/26/06, Woodchuck <djv at bedford.net> wrote:
> Did you simply install bash from a port or a package or did you
> build and configure it manually?

>From a package...

> Could you make ksh root's login shell for a few minutes and try
> a "known problem" .profile with it and the /etc/security script?

Now my inexperience shows... I do not have a backup of the problem
.profile file, and I have been unable to cause the same problem again.
Definitely there was white space on the line before the umask
instruction, but I have no way of checking what it was now.

I tried using nano to create a similar problem to no avail, so I guess
I can't really help identify exactly what went wrong.

> That editor you're using/were using... it wouldn't have slipped in
> something other than a righteous space or tab (0x20 or 0x09) in the
> "    umask 022" line?

There is the possibility that that happened, especially since I am
learning there may be a lot of "incorrect" keystrokes included amongst
the correct stuff. I may easily have done a ^something and left a
whitespace character, if that is possible.

> I'm scraping bottom now.  Maybe just deleting the leading whitespace
> would be enough?  I *do* hate to put a problem away with a bug
> still alive in it, though.

Certainly, deleting the whitespace did cure the problem, and I have
tried in vain to include error causing white space again.

I have pkg_deleted the bash shell and nano, and will continue for now
with ksh and mg.

Thanks for all your your help, and sorry for the headache :(

GG


More information about the Openbsd-newbies mailing list