[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [PATCH] bug 79685
From:       Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker () kde ! org>
Date:       2005-01-19 23:55:50
Message-ID: 200501200056.03846 () erwin ! ingo-kloecker ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thursday 20 January 2005 00:16, David Faure wrote:
> On Thursday 20 January 2005 00:13, Ingo Klöcker wrote:
> > On Thursday 20 January 2005 00:14, Edwin Schepers wrote:
> > > Hi,
> > > I don't know why the permissions are set explicitly, but the
> > > following solves bug http://bugs.kde.org/show_bug.cgi?id=79685
> >
> > I can't think of a good reason for the hard-coded permissions.
>
> cvs annotate is your friend...
>
> revision 1.105
> date: 2004/01/25 18:42:46;  author: mueller;  state: Exp;  lines: +3
> -2 don't save mails to disk with world-readable permissions set by
> default

To protect the user from his own umask? Of course, most distributions 
use 022 as umask by default which isn't really a good idea. 077 should 
be default since then we wouldn't have to add such bad hacks to KMail 
(or any other app). So what do we do? Deny the existence of the umask? 
Or should we add an option to define the default file permissions 
(defaulting to 600) to KDE and adjust the umask accordingly in startkde 
(or whereever)?

Regards,
Ingo

[Attachment #5 (application/pgp-signature)]

_______________________________________________
KMail developers mailing list
KMail-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic