Solved - Flatpak - execvp claws-mail-wrapper.sh

If none of the more specific forums is the right place to ask

Solved - Flatpak - execvp claws-mail-wrapper.sh

Postby efrpcabo » 2021-02-07 08:40

Hi,

I've installed flatpak and then inkscape and claws mail.
Inkscape launches well, but Claws Mail doesn't:

$ flatpak run org.claws_mail.Claws-Mail
execvp claws-mail-wrapper.sh: Permission denied

I've moved my flatpak directory and that could be a reason.

My motive was to avoid getting my root partition full, and followed this post:
https://github.com/flatpak/flatpak/issues/2147

I adapted it and I have done this
mkdir /data-partition/flatpak
sudo cp -avz /var/lib/flatpak /data-partition
cd /var/lib
sudo ln -s /data-partition/flatpak flatpak

Can somebody help?
Last edited by efrpcabo on 2021-02-08 17:37, edited 1 time in total.
User avatar
efrpcabo
 
Posts: 107
Joined: 2013-08-08 06:36

Re: Flatpak - execvp claws-mail-wrapper.sh: Permission denie

Postby arochester » 2021-02-07 09:22

Why Flatpak when both claws-mail and inkscape are available from Repository?
arochester
 
Posts: 1871
Joined: 2010-12-07 19:55

Re: Flatpak - execvp claws-mail-wrapper.sh: Permission denie

Postby efrpcabo » 2021-02-07 10:05

arochester wrote:Why Flatpak when both claws-mail and inkscape are available from Repository?


Well, because the Flatpak concept is different and I'd like to try it.
User avatar
efrpcabo
 
Posts: 107
Joined: 2013-08-08 06:36

Re: Flatpak - execvp claws-mail-wrapper.sh: Permission denie

Postby arzgi » 2021-02-07 16:11

Why do you think this is a Debian problem, if you download software from somewhere else?

Permission problem is really common, use search tool if you have not encountered it before.
arzgi
 
Posts: 711
Joined: 2008-02-21 17:03
Location: Finland

Re: Flatpak - execvp claws-mail-wrapper.sh: Permission denie

Postby efrpcabo » 2021-02-08 17:33

arzgi wrote:Why do you think this is a Debian problem, if you download software from somewhere else?
Permission problem is really common, use search tool if you have not encountered it before.


Well, I didn't say it was a Debian problem.
I just asked for help here, because I just like this forum.

Meanwhile, I found a solution, that was (go figure...) in the Flatpak documentation! :oops:
https://docs.flatpak.org/en/latest/tips-and-tricks.html

So, I made this small tutorial for me, which I share here:
=============================================
install flatpak

two options
- default install (in /var /lib)
- custom install (in custom directory)
I think both can coexist

install flatpak
apt update
apt install flatpak

install repository
flatpak remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

---------------------------------------------
if you want also a custom install
useful to prevent root partition to get full
https://docs.flatpak.org/en/latest/tips-and-tricks.html

note
/my-data is in another partition, mounted at boot

mkdir /my-data/flatpak/
mkdir -p /etc/flatpak/installations.d
nano /etc/flatpak/installations.d/my-data.conf
paste this:
[Installation "my-data"]
Path=/my-data/flatpak/
DisplayName=my-data
StorageType=harddisk

install repository in custom install
flatpak --installation=my-data remote-add flathub https://flathub.org/repo/flathub.flatpakrepo

note
I've found this alternative in the internet
but although it did work for Inkscape, it didn't work for me for Claws Mail
https://github.com/flatpak/flatpak/issues/2147

---------------------------------------------
inkscape

install in custom directory
flatpak --installation=my-data install flathub org.inkscape.Inkscape

install in (default) root directory
flatpak install flathub org.inkscape.Inkscape

run
flatpak run org.inkscape.Inkscape
flatpak run org.inkscape.Inkscape & exit

---------------------------------------------
claws mail

install in custom directory
flatpak --installation=my-data install flathub org.claws_mail.Claws-Mail

install in (default) root directory
flatpak install flathub org.claws_mail.Claws-Mail

run
flatpak run org.claws_mail.Claws-Mail
flatpak run org.claws_mail.Claws-Mail & exit

---------------------------------------------
gimp

install in custom directory
flatpak --installation=my-data install flathub org.gimp.GIMP

install in (default) root directory
flatpak --installation=my-data install flathub org.gimp.GIMP

run
flatpak run org.gimp.GIMP
flatpak run org.gimp.GIMP & exit

=============================================
User avatar
efrpcabo
 
Posts: 107
Joined: 2013-08-08 06:36


Return to General Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable