[PATCH] bug 79685

Ingo Klöcker kloecker at kde.org
Wed Jan 19 23:55:50 GMT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050120/1286f18e/attachment.sig>
-------------- next part --------------
_______________________________________________
KMail developers mailing list
KMail-devel at kde.org
https://mail.kde.org/mailman/listinfo/kmail-devel


More information about the kde-core-devel mailing list