From: Lowell Gilbert <[EMAIL PROTECTED]>
"Bill Moran" <[EMAIL PROTECTED]> writes:

> I would like to set my default permissions for X windows apps.
> I've set my umask for bash, which works great when I'm in a
> terminal, but it doesn't seem to have any effect on X apps
> (such as the Mozilla downloader, for example, or when I create
> new files with Code Crusader)
> Files are created rw-------, which is pretty restrictive when
> working on the server (something like rw-rw---- would be more
> appropriate - it's what I have the umask set to in bash)
> Is there a way to globally set the umask for all X apps?  It's
> very easy to forget and the other members of my team keep chewing
> me out. I tried calling the umask command from my .xinitrc file,
> but it doesn't seem to have any effect.

It *should* work -- it does for me.
[Although, in my case, it's the .xsession file, because I use xdm.]
Well, now that I'm taking a more careful look, it does ... sort of.
It seems as though I've been looking at the wrong thing, the problem
appears to be in the Mozilla downloader. When I save an email from
Mozilla, it gets rw-rw-r--, but when I download a file, it gets
rw-------.
I'll check the docs and Bugzilla to see if this is by design or a
known issue ... if not, I'll file a bug report.
Thanks for the pointer, and sorry for the noise.

-Bill

_________________________________________________________________
MSN 8: advanced junk mail protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_advancedjmf_3mf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to