Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Dec 2002 14:01:25 -0500
From:      "Bill Moran" <bill_moran2@hotmail.com>
To:        freebsd-questions-local@be-well.no-ip.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Default permissions under X (umask?)
Message-ID:  <F54ed0HPq84puKEI6a600016276@hotmail.com>

next in thread | raw e-mail | index | archive | help
>From: Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
>"Bill Moran" <bill_moran2@hotmail.com> 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 majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F54ed0HPq84puKEI6a600016276>