This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kmail states no access rights to inbox

Tags: None
(comma "," separated)
User avatar
jimux
Registered Member
Posts
6
Karma
0
OS
I have just upgraded from Suse 11.2 to Suse Factory using YAST2 to manage the process downloading from the Suse repositories. Much of the downloaded files were KDE.

Now when I start Kmail it reports:
"KMail encountered a fatal error and will terminate now.
The error was:
You do not have read/write permission to your inbox folder.
and then upon clicking the message it closes Kmail.



The directory linux-2csj:/home/jim/.kde/share/apps/kmail/mail exists and is fully populated with files that I can read using kwrite. The directory and sub-dirs have full access rwxrwxrwx.

Running processes include
jim 9418 9409 3 15:44 ? 00:00:13 /usr/bin/nepomukservicestub nepomukstorage
jim 9718 9409 3 15:45 ? 00:00:13 /usr/bin/nepomukservicestub nepomukstrigiservice
jim 9719 9409 0 15:45 ? 00:00:01 /usr/bin/nepomukservicestub nepomukactivitiesservice
jim 9720 9409 0 15:45 ? 00:00:01 /usr/bin/nepomukservicestub digikamnepomukservice
jim 9721 9409 0 15:45 ? 00:00:00 /usr/bin/nepomukservicestub nepomukqueryservice
jim 9722 9409 0 15:45 ? 00:00:02 /usr/bin/nepomukservicestub nepomukremovablestorageservice
jim 9723 9409 0 15:45 ? 00:00:02 /usr/bin/nepomukservicestub nepomukfilewatch


jim@linux-2csj:~> akonadictl start
Akonadi is already running.
jim@linux-2csj:~>

Suggestions please?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Those permissions are *highly* insecure.
In addition, there are hidden subfolders involved in storing your mail which may still have broken ownership or permissions.

Please run the following with KDE not running.
Code: Select all
sudo chown -R $(id -un):$(id -gn) $(kde4-config --localprefix)
chmod 700 -R $(kde4-config --localprefix)


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
jimux
Registered Member
Posts
6
Karma
0
OS
Progress of a sort.
On opening I now get a warning
"KMail encountered a fatal error and will terminate now.
The error was: Failed to fetch the resource collection."

If I leave the warning box open then I can see the application. All my previous posts are correctly filed in a Kmail-Import folder but the directory structure is also replicated at the root level. These replicated folders have a greyed out icon and presumable are the resource collection it failed to fetch.

They cannot be deleted from within the application. Where are they stored?

EDIT:
You can view and receive mail but any function that requires opening a new window is blocked.
User avatar
jimux
Registered Member
Posts
6
Karma
0
OS
**************** FIXED **************

The problem was Akonadi. It was looking for a non-existent mailbox.

SOLUTION:
Use text entry box on the start menu to type akonadi
Select Akonadi Console
Select Kmail Folders, configure natively

The application was looking for current in /home/jim/.kde4/share/apps/kmail/mail/ but they only exist at the next level ie
/home/jim/.kde4/share/apps/kmail/mail/Web stuff.
Changed to point to a random sub-folder and now fully functional.
User avatar
jimux
Registered Member
Posts
6
Karma
0
OS
OK, all working except when creating an email after 3 recipients it will not type in the recipient name boxes. It auto finds recipients but when you click from a selection it does not complete the address line.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
That is a bug, please file one at bugs.kde.org.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft