Skip site navigation (1)Skip section navigation (2)
Date:      25 Dec 2002 13:04:05 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.no-ip.com>
To:        "Bill Moran" <bill_moran2@hotmail.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Default permissions under X (umask?)
Message-ID:  <44bs3arn56.fsf@be-well.ilk.org>
In-Reply-To: <F54UIzFBjPX7yt4hAtf000160af@hotmail.com>
References:  <F54UIzFBjPX7yt4hAtf000160af@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"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.]

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?44bs3arn56.fsf>