summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2021-03-26 09:07:58 +0100
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2021-04-11 22:33:20 +0000
commitca845f2b3c57dfb7652f57517299ef767eb78122 (patch)
tree93677f5aeb4afb7fed837394f99606dc1f043459
parent222233e5297dec580064a6f145f65485baf7f529 (diff)
downloadnautilus-ca845f2b3c57dfb7652f57517299ef767eb78122.tar.gz
flatpak: Drop network requirement
The network access is no more needed for gvfs support as it currently uses named sockets instead of abstract ones. It is enough to allow access to `xdg-run/gvfsd` folder, where the named sockets reside. I'm not aware of other reasons for allowing network access. Let's drop the network access. This also workarounds "Too many open files" errors caused by leftover sockets (GNOME/gvfs#542). Relates: https://gitlab.gnome.org/GNOME/gvfs/-/issues/515
-rw-r--r--build-aux/flatpak/org.gnome.Nautilus.json2
-rw-r--r--build-aux/flatpak/org.gnome.Nautilus.yml2
-rw-r--r--build-aux/flatpak/org.gnome.NautilusMaster.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/build-aux/flatpak/org.gnome.Nautilus.json b/build-aux/flatpak/org.gnome.Nautilus.json
index ac9b215e0..52e6333a7 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.json
+++ b/build-aux/flatpak/org.gnome.Nautilus.json
@@ -17,7 +17,7 @@
"--filesystem=host",
"--talk-name=org.gtk.vfs",
"--talk-name=org.gtk.vfs.*",
- "--share=network",
+ "--filesystem=xdg-run/gvfsd",
"--filesystem=xdg-run/dconf",
"--filesystem=~/.config/dconf:ro",
"--talk-name=ca.desrt.dconf",
diff --git a/build-aux/flatpak/org.gnome.Nautilus.yml b/build-aux/flatpak/org.gnome.Nautilus.yml
index 3c11d5b98..4a15c4c53 100644
--- a/build-aux/flatpak/org.gnome.Nautilus.yml
+++ b/build-aux/flatpak/org.gnome.Nautilus.yml
@@ -16,7 +16,7 @@ finish-args:
- "--filesystem=host"
- "--talk-name=org.gtk.vfs"
- "--talk-name=org.gtk.vfs.*"
-- "--share=network"
+- "--filesystem=xdg-run/gvfsd"
- "--filesystem=xdg-run/dconf"
- "--filesystem=~/.config/dconf:ro"
- "--talk-name=ca.desrt.dconf"
diff --git a/build-aux/flatpak/org.gnome.NautilusMaster.yml b/build-aux/flatpak/org.gnome.NautilusMaster.yml
index 20a21c6e2..bc1771627 100644
--- a/build-aux/flatpak/org.gnome.NautilusMaster.yml
+++ b/build-aux/flatpak/org.gnome.NautilusMaster.yml
@@ -16,7 +16,7 @@ finish-args:
- "--filesystem=host"
- "--talk-name=org.gtk.vfs"
- "--talk-name=org.gtk.vfs.*"
-- "--share=network"
+- "--filesystem=xdg-run/gvfsd"
- "--filesystem=xdg-run/dconf"
- "--filesystem=~/.config/dconf:ro"
- "--talk-name=ca.desrt.dconf"