1. 22 Sep, 2021 1 commit
  2. 17 Sep, 2021 1 commit
  3. 08 Sep, 2021 1 commit
  4. 05 Sep, 2021 1 commit
  5. 10 Jul, 2021 1 commit
  6. 30 Jun, 2021 1 commit
  7. 28 Jun, 2021 1 commit
  8. 11 Jun, 2021 1 commit
  9. 07 Jun, 2021 2 commits
    • Ondrej Holy's avatar
      admin: Fix mount operation hang caused by pkexec failure · 3b3350a2
      Ondrej Holy authored
      Currently, the mount operation for the admin backend can hang when the
      authentication dialog is dismissed for example. This is because `pkexec`
      exits before spawning the `gvfsd-admin` daemon. Let's catch that case
      and return the "Permission denied" error.
      Fixes: #565
    • Ondrej Holy's avatar
      admin: Make the privileged group configurable · 141eee12
      Ondrej Holy authored
      Currently, `wheel` group is hardcoded in the `.rules` file which is there
      to prevent redundant password prompt when starting gvfsd-admin. The Debian
      based systems obviously uses `sudo` group instead of `wheel`. Let's make
      the privileged group configurable.
  10. 13 May, 2021 1 commit
  11. 04 May, 2021 1 commit
  12. 30 Apr, 2021 2 commits
  13. 23 Apr, 2021 1 commit
  14. 16 Apr, 2021 1 commit
  15. 15 Apr, 2021 5 commits
    • Ondrej Holy's avatar
      client: Prevent socket leaks if socket dir is inaccessible · c615cfe1
      Ondrej Holy authored
      GVfs fallbacks to session bus if it is not possible to establish
      peer-to-peer connection (e.g. inside Flatpak sandbox). However,
      the DBus server is not terminated and the socket is leaked. The
      named sockets are counted as open files, so it can easily lead to
      "Too many open files" errors. Let's fallback to the session bus
      immediately if the socket dir is not accessible to prevent the
      leaks. This should fix the most common case, when the sockets are
      Fixes: #542
    • Ondrej Holy's avatar
      admin: Fail when peer credentials are not available · 117d5318
      Ondrej Holy authored
      Currently, critical errors are printed when peer credentials aren't
      available (i.e. session bus fallback is used). Let's return an error
      immediately to prevent the criticals. Also add warning with suggestion
      to allow `--filesystem=xdg-run/gvfsd` access.
    • Ondrej Holy's avatar
      admin: Pass also XDG_RUNTIME_DIR to pkexec environment · 034ca8bd
      Ondrej Holy authored
      Recently, GVfs switched from abstract sockets to named sockets. The
      sockets are created in the `XDG_RUNTIME_DIR` directory. This directory
      is not unfortunatelly set for `gvfsd-admin` and thus the root's cache
      dir is used instead, which is wrong. Let's pass the `XDG_RUNTIME_DIR`
      environment variable to the `pkexec` environment similarly to
      Fixes: GNOME/gvfs#552
    • Ondrej Holy's avatar
      daemon: Fix socket owner for gvfsd-admin · 5f9cffd1
      Ondrej Holy authored
      Recently, GVfs switched from abstract sockets to named sockets. The
      named sockets honors file permissions and thus the socket owner is root
      in the case `gvfsd-admin`. This obviously prevents client from connecting.
      Let's change the owner to the value of `PKEXEC_UID` to ensure that the
      socket is usable by the client.
    • Ondrej Holy's avatar
      daemon: Create socket dir from gvfsd daemon · 06f90d28
      Ondrej Holy authored
      Recently, GVfs switched from abstract sockets to named sockets. The
      socket dir is currently created by the individual daemons immediately
      before starting DBus server. If gvfsd-admin is started at first, the
      socket dir is owned by root user and thus it isn't accesible for other
      daemons and clients. Let's create the socket dir early from the gvfsd
      daemon to ensure correct ownership.
  16. 13 Apr, 2021 1 commit
  17. 11 Apr, 2021 1 commit
  18. 01 Apr, 2021 2 commits
    • Nathan Follens's avatar
      Update Dutch translation · 8d104bd1
      Nathan Follens authored
    • Ondrej Holy's avatar
      ci: Add ipv6 in tags to fix random test suite failures · 9f7d3171
      Ondrej Holy authored
      The DAV	test cases sometimes fails with	"(98)Address already in use:
      AH00072: make_sock: could not bind to address". This
      seems to happen	only on	runners	which don't have ipv6 tag. Let's
      temporarily add the tag to fix those failures. It would be best to
      programmatically try some range of ports, but this is currently out
      of my time resources.
  19. 24 Mar, 2021 1 commit
    • Jan Alexander Steffens's avatar
      daemon: Remove connection socket properly · d34ad86e
      Jan Alexander Steffens authored
      The naming scheme for the non-abstract socket was changed but
      `new_connection_data_free` was not adjusted to match.
      `GDBusServer` will remove the socket when it stops, but only if
      `g_dbus_server_start` was called. So we can simplify the process
      somewhat. Also don't bother removing the directory now that all sockets
      share it.
  20. 23 Mar, 2021 1 commit
  21. 19 Mar, 2021 3 commits
  22. 15 Mar, 2021 1 commit
  23. 13 Mar, 2021 1 commit
  24. 12 Mar, 2021 2 commits
  25. 11 Mar, 2021 1 commit
  26. 10 Mar, 2021 1 commit
  27. 09 Mar, 2021 3 commits
  28. 08 Mar, 2021 1 commit