Okular (ubuntu 20.04) can not open pdf attached to email

User Help for Mozilla Thunderbird
Post Reply
robbyx
Posts: 979
Joined: September 1st, 2003, 10:08 am

Okular (ubuntu 20.04) can not open pdf attached to email

Post by robbyx »

Error message: Could not open file:///tmp/pid-2567/....pdf.

I assumed it was a permission problem so ran the following:
sudo chmod 1777 /tmp
sudo chown root:root /tmp

Those changes made no difference to it not being possible to open the attachment from within TB.

As I can open the pdf if I use nautilus to go to the /tmp location, I still think the problem is due to the access rights. What should I change so that the pdf opens from within TB?
Robin
User avatar
Grumpus
Posts: 13239
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: Okular (ubuntu 20.04) can not open pdf attached to email

Post by Grumpus »

Look at /General/Files and Attachments.
Is pdf in the list of file types?
To the right, if it is, what is the setting.
You shouldn't have to change ownership for simple pdf files unless it's locked for some reason.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
robbyx
Posts: 979
Joined: September 1st, 2003, 10:08 am

Re: Okular (ubuntu 20.04) can not open pdf attached to email

Post by robbyx »

Grumpus wrote:Look at /General/Files and Attachments.
Is pdf in the list of file types?
To the right, if it is, what is the setting.
Pdf is in the file types and Action is: Use Okular

Hence my wondering if the failure to open the pdf attachments is a permissions problem.
Robin
User avatar
Grumpus
Posts: 13239
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: Okular (ubuntu 20.04) can not open pdf attached to email

Post by Grumpus »

Look at the permissions for the tmp folder and sub folder.
Also try a different pdf reader or set the pdf filetype to ask or let Thunderbird open the pdf, should be in the drop down menu for what to do.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
Post Reply