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

List:       kde-devel
Subject:    Re:: Bug: kmail in KDE_1_1_BRANCH
From:       Don Sanders <dsanders () cch ! com ! au>
Date:       1999-06-26 19:05:25
[Download RAW message or body]

I had the exact same problem when keeping the HEAD branch sync'd with the
KDE_1_1_BRANCH, I fixed it in the HEAD branch by doing the following.

kmreadwin.cpp
Line 61
-#define KMAIL_TMP "&/share/apps/kmail/tmp/"
+#define KMAIL_TMP "&/share/apps/kmail/tmp"

Line 104
-mAttachDir.sprintf("%skmail%d", (const char*)str, getpid());
+mAttachDir.sprintf("%s/kmail%d", (const char*)str, getpid());

Sven can you check this?

From: Stefan van den Oord <s.m.vandenoord@student.utwente.nl>
> 
> 
> I don't have time to check the code myself now, so I will only report
> this bug.
> 
> I just installed KDE_1_1_BRANCH from scratch, except that I kept my
> existing .kde dir (from KDE 1.1.1). When I started KMail, it
> complained that the dir
> /home/parlevink/stud/oord/.kde/share/apps/kmail/tmp was not accessible
> and that it needs that dir for attachments. I checked it, and saw
> that the permissions for the dir were ZERO, so:
> 
> d---------   3 oord     parlevin      512 Jun 25 19:16 tmp/
> 
> I guess the dir is created with the wrong permissions. Will somebody
> look into it? Thanks.
> 
> Stefan
> 
> -- 
> Stefan van den Oord
> s.m.vandenoord@student.utwente.n

-------------------------------------------------------
Date: Sun, 6 Jun 1999 14:14:25 +0000
From: Don Sanders <dsanders@cch.com.au>
To: Sven Radej <sven@lisa.exp.univie.ac.at>
Cc: dsanders@cch.com.au


Hi Sven,

I have been porting over all the changes that have been made to the 1.1 branch
to the HEAD branch in CVS. I've finished migrating the code and are presently
testing to make sure all the enhancements are working in the HEAD branch ok,
before I check my modifications back in.

I have a few problems, one is that when I start kmail I get the following
warning now (a warning messagebox pops up with the text)
"Failed to create temporary attachment directory
'/home/kde2/.kde/share/apps/kmail/tmp/kmail20221': Permission denied"
and inline image attachments aren't shown inline.

Hmmm the chmod call to make the temporary directory writable is failing, I'll
look into it.  

Bye for now,
Don.
------------------------------------------------------

Don.

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

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