#StackBounty: #mount #libreoffice #snap #fstab #ntfs Is it possible to allow LibreOffice installed as Snap to access files from fixed N…

Bounty: 50

I need to have modern LibreOffice 7 on my Ubuntu 16.04.7 LTS system with full its integration to the system.

I have installed it with snap install libreoffice.

What is strange it can’t access the files on my NTFS volume which is mounted via line in the /etc/fstab:

$ cat /etc/fstab | grep Windows
UUID=66DE0665334C2F51       /home/norbert/Windows/DATA  ntfs-3g users,defaults 0 4 

$ mount | grep Windows
/dev/sdb5 on /home/norbert/Windows/DATA type fuseblk (rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

Of course I know about :removable-media and it is connected:

$ snap list | grep -i libreoffice
libreoffice            7.0.2.2                     196    latest/stable  canonical*          -

$ snap interfaces  | grep -v ".*-$" | grep -i libreoffice

'snap interfaces' is deprecated; use 'snap connections'.
:audio-playback                  libreoffice,zoom-client
:cups-control                    libreoffice
:desktop                         freeplane-mindmapping,libreoffice,zoom-client
:desktop-legacy                  freeplane-mindmapping,libreoffice
:gsettings                       libreoffice
:home                            freeplane-mindmapping,libreoffice,mdl,zoom-client
:network                         freeplane-mindmapping,libreoffice,zoom-client
:network-bind                    libreoffice,zoom-client
:opengl                          libreoffice,zoom-client
:pulseaudio                      libreoffice
:removable-media                 libreoffice,mdl,zoom-client
:screen-inhibit-control          libreoffice,zoom-client
:unity7                          libreoffice,zoom-client
:wayland                         libreoffice,zoom-client
:x11                             freeplane-mindmapping,libreoffice,zoom-client
gnome-3-28-1804:gnome-3-28-1804  libreoffice
gtk-common-themes:gtk-3-themes   libreoffice
gtk-common-themes:icon-themes    libreoffice
gtk-common-themes:sound-themes   libreoffice
-                                libreoffice:bluez

I get the following while accessing file inside the /home/norbert/Windows/DATA folder:

access denied
Access to /home/norbert/Windows/DATA/file.doc was denied.

What should I do to allow Snap’ed LibreOffice to access the normally mounted internal fixed drive?


Get this bounty!!!

#StackBounty: #firefox #snap How to make firefox from snapcraft access home directory?

Bounty: 50

I’ve just installed firefox with

snap install firefox

but I can’t open/save anything on the home directory.

I tried

sudo snap connect firefox:home :home

and it didn’t work. I click open and it does nothing. Also saving a page does nothing.

Other softwares, like Inkscape, will only run if I launch with root;

 snap run inkscape
error: cannot find current revision for snap inkscape: readlink /snap/inkscape/current: permission denied

which is not nice


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!

#StackBounty: #snap #home-directory How to align Snap's HOME with Linux?

Bounty: 50

Background

When I use n3dr, it looks by default in the home folder for a .n3dr.yaml file. When a snap package is created, the tool complains that it cannot find the file. It turned out that snap has an other definition regarding $HOME.

$HOME on linux:

~/user, i.e. /home/user

snap:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'

Aim

To prevent that users have to create a n3dr.yaml file in another home directory, the question is whether it is possible to overwrite the Snap’s $HOME variable to ensure that it is identical to the Linux’ $HOME default.

How to align this? I.e.:

INFO[0000] Home folder: '/home/user'

instead of:

INFO[0000] Home folder: '/home/user/snap/n3dr/x1'


Get this bounty!!!