[ubuntu-za] Snaps can't access files outside Home
Frank Sokolic
sokolic at worldonline.co.za
Fri Jul 27 06:35:47 UTC 2018
Hi Wesley,
Thanks for the suggestion.
In April I did a clean install of 18.04 and when I installed Chromium,
GIMP and Inkscape from Ubuntu Software I wasn't aware that I was
installing them as snaps. I see now that all three of these packages
appear twice in Ubuntu Software, the first time with the source as Snap
Store and the second as ubuntu-bionic-universe. In all three cases the
Snap Store version is listed first. I wonder if that is done on purpose?
Maybe the easiest solution is to delete the Snap versions and reinstall
from ubuntu-bionic-universe.
Regards, Frank.
On 26/07/2018 13:45, Jacques Strydom wrote:
> This is a general problem with snap packages. Snap software is
> confined to certain folders and the the only way to directly access
> other folders that I know of are to mount the external folder to a
> folder in you home folder. ex:
>
> mkdir $HOME/"folder to mount to" sudo mount -obind /"path to external
> folder" $HOME/"folder to mount to"
>
> On Thu, 26 Jul 2018 at 13:35 Frank Sokolic <sokolic at worldonline.co.za
> <mailto:sokolic at worldonline.co.za>> wrote:
>
> Hi Wesley,
>
> Thanks for the response but the problem isn't due to errors on the
> USB drive. I can't access ANY files or directories outside my home
> directory with snap packages.
>
> If I go to Ubuntu Software and type in Inkscape (or GIMP or
> Chromium) and highlight the installed package there is a
> Permissions button but there is no option to access files and
> directories outside the home folder.
>
>
> Frank.
>
>
> On 26/07/2018 09:29, Wesley Werner wrote:
>> Frank
>>
>> If there are errors on the usb drive it could be remounted as
>> read-only, check if your usb drive needs repair:
>> https://askubuntu.com/questions/953032/cannot-write-and-delete-files-on-usb-drive
>>
>> --
>> Regards
>> Wesley Werner
>>
>>
>> On Wed, Jul 25, 2018 at 1:06 PM Frank Sokolic
>> <sokolic at worldonline.co.za <mailto:sokolic at worldonline.co.za>> wrote:
>>
>> Hi,
>>
>> I've got Chromium, Inkscape and GIMP installed as snaps on
>> Ubuntu 18.04
>> but when using these snaps I can't access any files or
>> directories
>> outside my home directory. This is frustrating as it means,
>> for example,
>> that I can't read and write files on a flash drive when using
>> GIMP or
>> Inkscape. Does anyone know how to set the permissions to get
>> around this?
>>
>> Thanks, Frank.
>>
>> --
>> ubuntu-za mailing list
>> ubuntu-za at lists.ubuntu.com <mailto:ubuntu-za at lists.ubuntu.com>
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>>
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com <mailto:ubuntu-za at lists.ubuntu.com>
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20180727/c6918937/attachment.html>
More information about the ubuntu-za
mailing list