Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: marek.pola@mailbox.swipnet.se (Marek Pola)
Subject: Re: Umask and Session Manager
Date: 1996/04/02	[thread overview]
Message-ID: <4js6aa$6i4@mn5.swip.net> (raw)
In-Reply-To: 427cc$8132f.d1@news.leg.wa.gov

In article <427cc$8132f.d1@news.leg.wa.gov>,
   fry_ja@leg.wa.gov (Jason Fry) wrote:
>I am connecting to a Digital Unix ver 3.2 box using Reflection X,
>X-Windows software.  I am running the xdm server on the Unix box.  I
>have set the umask different than the system default in the
>/etc/profile.  This works correctly as long as I start programs from
>the Unix prompt.  Whenever I start a program from the Session Manager
>pulldown menu and save/create a file, the umask is not the one I set.
>It uses the system default umask.  It's like Session Manager ignores
>the umask that I set.  Anyone have an idea how I can make Session
>Manager aware of the new umask?
>
>Thanks for any help/clues/pointers!
>
>Jason Fry
>Washington State Legislative Service Center

I've also had problems with Session Manager, but not with umask but with PATHs 
to application directories. It seems that session manager does not run the 
profile (or .cshrc and .login if you use csh) before starting up the 
application. One solution that works, but is somewhat crude, it to execute the 
$HOME/.profile before running the command; insert like:

sh -c ".profile; your_command" in the session managers options/define menu.

(I'm not 100% sure about the "-c". I'm at home. Look in man pages for sh).

Good luck!


Marek Pola
Tetra Pak
Lund, Sweden
------------------------------------------------
"Jim, his brains's gone!" - Dr McCoy, Star Trek.



      reply	other threads:[~1996-04-02  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-02  5:00 Umask and Session Manager Jason Fry
1996-04-02  5:00 ` Marek Pola [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox