flatpak-builder/common
Colin Walters daf36ba2af dir: Ensure ~/.local/share/flatpak is 0700
This goes into a big old topic about Unix homedir permissions; it's not uncommon
for general purpose OS vendors to have homedirs be 0755. In that case,
applications need to ensure confidentiality for data requiring it (classically
e.g. `~/.ssh`) by making the dirs `0700`.

While most of the data in the flatpak per-user dir probably isn't confidential
(debatably) we have a different issue; if container content includes suid or
world-writable files/dirs, then having that data accessible to other users
is obviously problematic.

We're going to fix flatpak/ostree to not create files with those modes
to begin with, but this simple fix closes off the attack route for
the per-user directory.

A different fix will be necessary for the system-wide repo.

See: https://github.com/flatpak/flatpak/pull/837
2017-06-08 17:00:20 +02:00
..
gvdb Rename lib/ to common/ in preparation for public xdg-app library 2015-11-26 22:05:38 +01:00
Makefile.am.inc Include the generated document portal code in common 2017-05-03 13:27:52 +02:00
flatpak-chain-input-stream.c Fix license headers 2016-07-29 14:27:49 -04:00
flatpak-chain-input-stream.h Fix license headers 2016-07-29 14:27:49 -04:00
flatpak-common-types.h Add flatpak_pull_from_oci helper 2016-12-09 14:44:25 +01:00
flatpak-db.c Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
flatpak-db.h Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
flatpak-dir.c dir: Ensure ~/.local/share/flatpak is 0700 2017-06-08 17:00:20 +02:00
flatpak-dir.h progress: Update at 300msec on the CLI 2017-05-23 10:18:35 +02:00
flatpak-json-oci.c OCI: Add json format for atomic-based signatures 2017-03-29 17:14:36 +02:00
flatpak-json-oci.h OCI: Add json format for atomic-based signatures 2017-03-29 17:14:36 +02:00
flatpak-json.c OCI: Add support for strict and mandatory json properties 2017-03-29 17:14:36 +02:00
flatpak-json.h OCI: Add support for strict and mandatory json properties 2017-03-29 17:14:36 +02:00
flatpak-oci-registry.c Update to latest libglnx and use the new GLnxTmpFile API 2017-05-22 09:08:49 +02:00
flatpak-oci-registry.h OCI: Verify signatures 2017-03-29 17:14:36 +02:00
flatpak-portal-error.c Change portal error names to not contain Flatpak 2016-05-12 22:03:09 +02:00
flatpak-portal-error.h Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
flatpak-run.c run: Allow --filesystem=xdg-*/subdir:ro 2017-06-01 11:03:20 +02:00
flatpak-run.h documents: paths in the apps dir ar always accessible 2017-05-26 13:05:43 +02:00
flatpak-table-printer.c Don't crash if there's more titles than columns 2017-05-03 12:40:14 +02:00
flatpak-table-printer.h Add table printer api for number columns 2017-05-03 11:06:43 +02:00
flatpak-utils.c utils: Fix minor formatting issue in gtk-doc comment 2017-06-06 19:42:54 +01:00
flatpak-utils.h Handle app ids with dashes when ignoring locale/debug. 2017-05-30 18:07:46 +02:00