Re: Xsession doesn't use umask setting from /etc/login.defs

2004-11-01 Thread Tollef Fog Heen
* Branden Robinson | I'm not thrilled with it, but maybe you can make something useful out of | that. | | Thanks again for the lightning-fast coding. :) Thanks for the description; the package is now sitting in the NEW queue. Sorry for taking a bit of time, I have been away on vacation. --

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-21 Thread Branden Robinson
On Mon, Oct 18, 2004 at 09:41:45PM +0200, Tomas Fasth wrote: > I have re-read your mail and I beg you for pardon. I was wrong. Thanks. My anger dissipates with a wave of the hand. :) > | And, by the way: X-No-CC: I subscribe to this list; do not CC me > | on replies. > > I'm very sorry but I'm

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-21 Thread Branden Robinson
On Mon, Oct 18, 2004 at 09:43:33AM +0200, Jan Nieuwenhuizen wrote: > I wonder if filing a bug report against the offending MUA would be > more efficient? I think such bugs are best filed by those who actually use the MUA in question (I use Mutt, which already respects M-C-T and M-F-T). After all,

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-21 Thread Branden Robinson
On Mon, Oct 18, 2004 at 10:57:24AM +0200, Tollef Fog Heen wrote: > * Branden Robinson > > | On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: > | > environment variables, at least, are trivial to accomplish using the > | > pam_env module. Properly setting a umask would call for som

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-19 Thread Tollef Fog Heen
* Tomas Fasth | Branden Robinson wrote: | | Would pam_umask.so be a worthwhile exercise for some enterprising | | person? | | May I suggest pam_logindefs.so? No, that's a bad idea for a variety of reasons, for instance that we already have pam_limits and as pam modules often are security-critic

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Tomas Fasth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Langasek wrote: | On Mon, Oct 18, 2004 at 02:06:16AM -0500, Branden Robinson wrote: |> On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: |>> environment variables, at least, are trivial to accomplish |>> using the pam_env module.

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Steve Langasek
On Mon, Oct 18, 2004 at 02:06:16AM -0500, Branden Robinson wrote: > On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: > > environment variables, at least, are trivial to accomplish using the > > pam_env module. Properly setting a umask would call for something else > > yet. > Would

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Tomas Fasth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Branden Robinson wrote: | On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: | |> environment variables, at least, are trivial to accomplish |> using the pam_env module. Properly setting a umask would call |> for something else yet. | |

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Tomas Fasth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Branden, Branden Robinson wrote: | On Sat, Oct 16, 2004 at 01:28:31PM +0200, Tomas Fasth wrote: | |> What I don't understand is why you think the umask preference |> should be applied differently depending on the type of |> interface the user c

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Tollef Fog Heen
* Branden Robinson | On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: | > environment variables, at least, are trivial to accomplish using the | > pam_env module. Properly setting a umask would call for something else | > yet. | | Would pam_umask.so be a worthwhile exercise for s

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Jan Nieuwenhuizen
Branden Robinson writes: When I see complaints like these > And, by the way: > X-No-CC: I subscribe to this list; do not CC me on replies. > > Please get an MUA that respects Mail-Copies-To:. I wonder if filing a bug report against the offending MUA would be more efficient? In this case,

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Branden Robinson
On Sat, Oct 16, 2004 at 01:28:31PM +0200, Tomas Fasth wrote: > However, umask is not an ordinary software configuration property, > it's a process property initially inherited from init which, by the > way, set it to 022 (I just checked the source of sysvinit in unstable). Yes, we know that. [...

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-18 Thread Branden Robinson
On Fri, Oct 15, 2004 at 12:06:36PM -0700, Steve Langasek wrote: > environment variables, at least, are trivial to accomplish using the > pam_env module. Properly setting a umask would call for something else > yet. Would pam_umask.so be a worthwhile exercise for some enterprising person? I someh

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-16 Thread Tomas Fasth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Branden Robinson wrote: | On Thu, Oct 14, 2004 at 12:14:58AM +0200, Tomas Fasth wrote: [...] |> I believe that /etc/login.defs _is_ the right place to define |> the default umask property. | | It feels wrong to me to make display managers selectively

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-15 Thread Steve Langasek
On Fri, Oct 15, 2004 at 01:23:40PM +0100, Colin Watson wrote: > On Fri, Oct 15, 2004 at 01:19:59AM -0500, Branden Robinson wrote: > > On Thu, Oct 14, 2004 at 12:14:58AM +0200, Tomas Fasth wrote: > > > Branden Robinson wrote: > > > >/etc/login.defs explicitly indicates that it is "Configuration > >

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-15 Thread Colin Watson
On Fri, Oct 15, 2004 at 01:19:59AM -0500, Branden Robinson wrote: > On Thu, Oct 14, 2004 at 12:14:58AM +0200, Tomas Fasth wrote: > > Branden Robinson wrote: > > >/etc/login.defs explicitly indicates that it is "Configuration > > >control definitions for the login package", and many of its > > >para

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-15 Thread Branden Robinson
On Thu, Oct 14, 2004 at 12:14:58AM +0200, Tomas Fasth wrote: > Branden Robinson wrote: > >/etc/login.defs explicitly indicates that it is "Configuration > >control definitions for the login package", and many of its > >parameters are inapplicable to display managers, or already > >implemented in pa

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-13 Thread GOTO Masanori
At Thu, 14 Oct 2004 00:14:58 +0200, Tomas Fasth wrote: > > /etc/login.defs explicitly indicates that it is "Configuration > > control definitions for the login package", and many of its > > parameters are inapplicable to display managers, or already > > implemented in parallel (e.g., how long do wa

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-13 Thread Tomas Fasth
Branden Robinson wrote: [Redirecting to debian-devel; followups set.] On Mon, Sep 20, 2004 at 02:29:32PM +0200, Wouter Hanegraaff wrote: Hi, After a fresh sarge install, I'm having problems with umask settings. In /etc/login.defs I set umask to 002, and that works for logging in on the consol

Re: Xsession doesn't use umask setting from /etc/login.defs

2004-10-13 Thread Branden Robinson
[Redirecting to debian-devel; followups set.] On Mon, Sep 20, 2004 at 02:29:32PM +0200, Wouter Hanegraaff wrote: > Hi, > > After a fresh sarge install, I'm having problems with umask settings. In > /etc/login.defs I set umask to 002, and that works for logging in on the > console or remote via ss

Xsession doesn't use UMASK setting from /etc/login.defs

2004-09-20 Thread Wouter Hanegraaff
Hi, After a fresh sarge install, I'm having problems with umask settings. In /etc/login.defs I set umask to 002, and that works for logging in on the console or remote via ssh. However, if I use {g,x,k}dm I keep getting an umask of 022, because Xsession is started by the display manager which has