[Bug 79685] kmail does not honour umask on saving attachments

2008-06-19 Thread davidblunkett
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From dav1dblunk3tt hotmail com  2008-06-19 10:00 
---
RO when I open a document or drag a document to the Desktop, I haven't tried 
saveas...

It appears that my concern is with a different but (outlined below)

My main concern is opening a document directly - a long time back opened 
documents were R/W (umask in fact) but some newbies lost edits because they did 
not realise they were opened in /tmp and kmail cleaned them before quitting.  
The developers then enforced RO opening.  In my opinion this was wrong - the 
correct action would be to: get kmail to check for changes and only clean if no 
changes had been made to files in /tmp but to optionally issue a warning 
otherwise AND for the RO to be optional and by default selected.  In this case 
no one who didn't know what was going on would have a problem and the rest of 
us could have RW / umask if we wanted.


For several years I just built my own kmail with a hack to remove the RO 
enforcement but ran into trouble building lately and filed a bug which got 
marked as the same as this one.

What I am after is an option to set the perms of documents you open directly 
from kmail and a bit of smart handling of changes to tmp files. I only 
personally care about the former.  My problem is I get sent loads of word docs, 
the formatting breaks in translation to OO and OO won't let you change RO 
documents so you have to go through a save:as process (currently broken in the 
current SUSE OO) or drag the file to the Desktop, change its perms and then 
open it. All just to fix the borken font so you can read it and discard it.  
This happens to me 1/2 dozen times a day and is really annoying.  Yes, I agree 
OO should be wiser, yes I agree my colleagues should be more enlightened etc 
but no of this can change and it does not seem unreasonable that kmail allows 
the user to set the permissions of the files it opens.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-06-18 Thread davidblunkett
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From dav1dblunk3tt hotmail com  2008-06-18 12:02 
---
I think I am still missing something: I tried this (comment 24) and tried 
disregardUmask=false but I still get read only attachments and read only docs 
on opening from kmail, my umask is 22 but somewhere along the line kmail is not 
respecting this.

The comments in the code indicate that true = disregard users umask and use 
u=rw instead, so if it is false I should get my umask (022) and if it is true 
I should get still be able to r/w.  Any idea what is not going right for me?

I can see kmail reading and rewriting this option (because it sorts it on 
saving). I don't know where kmail picks up my umask or how I can check what 
value it thinks it has (I cannot build these packages at the moment because of 
a missing dependency but I think this is an unrelated distro problem).

Any suggestions? Thanks!
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-06-18 Thread Paul Worrall
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From paul basilisk ukfsn org  2008-06-18 18:49 
---
When you say in comment 24 ...on opening from kmail,..., are you talking 
about opening attachments directly from within received emails?  In this case, 
documents are opened read-only (at least OpenOffice ones are). This bug however 
is about the file permissions you get when you save the attachment to a 
stand-alone file (e.g. by right-click -- Save As...).  Sorry if I've 
misunderstood comment 24.
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-06-12 Thread Allen Winter
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From winter kde org  2008-06-12 17:45 ---
You need to set this configuration option by hand in your kmailrc file.
This info was never added to the KMail handbook, which is my fault.

Quit from KMail or Kontact, which ever one you use.

Start up your favorite editor and open the file .kde/share/config/kmailrc
from your home folder.

Scroll down to the heading [General] and add the line:
disregardUmask=true
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-06-12 Thread Ferdinand Gassauer
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From gassauer kde org  2008-06-12 18:37 ---
can this be eventually be changed to 
respectUmask=true/false
to avoid double negation?
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-06-11 Thread davidblunkett
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 




--- Additional Comments From dav1dblunk3tt hotmail com  2008-06-11 11:14 
---
I am using kamil 1.9.6 from suse and I am completely baffled by this- 

I have no option to set anything to do with perms and kmail does not honour my 
umask, am I missing something?
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs


[Bug 79685] kmail does not honour umask on saving attachments

2008-05-15 Thread owner
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.
 
http://bugs.kde.org/show_bug.cgi?id=79685 
jjm keelhaul me uk changed:

   What|Removed |Added

 CC||branislav.klocok ofz sk



--- Additional Comments From jjm keelhaul me uk  2008-05-15 18:44 ---
*** Bug 86325 has been marked as a duplicate of this bug. ***
___
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs