* Umask and Session Manager
@ 1996-04-02 5:00 Jason Fry
1996-04-02 5:00 ` Marek Pola
0 siblings, 1 reply; 2+ messages in thread
From: Jason Fry @ 1996-04-02 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Umask and Session Manager
1996-04-02 5:00 Umask and Session Manager Jason Fry
@ 1996-04-02 5:00 ` Marek Pola
0 siblings, 0 replies; 2+ messages in thread
From: Marek Pola @ 1996-04-02 5:00 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-04-02 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-04-02 5:00 Umask and Session Manager Jason Fry
1996-04-02 5:00 ` Marek Pola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox