flatpak-builder icon indicating copy to clipboard operation
flatpak-builder copied to clipboard

flatpak-builder does not grant write access to sdk filesystem when using shell

Open alexlarsson opened this issue 8 years ago • 1 comments

From @futuretim on April 5, 2017 12:8

When trying to build and install an extension from a build shell, write access is not granted to the sdk filesystem area. for instance with the rust extension after a proper build-init, using:

flatpak build --share=network ../rust-build

I can easily clone rust's git, have it do its build but upon install it fails with this error:

mkdir: cannot create directory ‘/usr/lib/sdk/rust’: Read-only file system install: error: can't write to destination. consider sudo.

Copied from original issue: flatpak/flatpak#684

alexlarsson avatar Aug 25 '17 10:08 alexlarsson

Well, the sdk should not be writable, but it seems the extension point is not mounted there.

alexlarsson avatar Aug 25 '17 10:08 alexlarsson