mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6479] [MERGED] profiles: ssh: add ${RUNUSER}/gvfsd-sftp #6032
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#6032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/6479
Author: @kmk3
Created: 9/16/2024
Status: ✅ Merged
Merged: 9/19/2024
Merged by: @kmk3
Base:
master← Head:ssh-allow-gvfsd📝 Commits (1)
5f4bb13profiles: ssh: add ${RUNUSER}/gvfsd-sftp📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
etc/profile-m-z/ssh.profile(+1 -0)📄 Description
Based on the report by @Saren-Arterius[1]:
Since GNOME gvfs 1.53+, the ssh client options
ControlMaster=autoandControlPath=/run/user/$UID/gvfsd-sftp/%Care used to mount sftp.Since
/run/user/$UID/gvfsd-sftpis not whitelisted, gvfs sftp mountwith nautilus will fail with a meaningless error message shown in the
UI.
Steps to reproduce[1]:
Prepare ssh server or localhost, then run:
stderr shows:
And ssh exits with error code 255.
Fixes #5816.
[1] https://github.com/netblue30/firejail/issues/5816#issue-1695295931
Reported-by: @Saren-Arterius
Suggested-by: @Saren-Arterius
Reported-by: @Alex-Farol
Reported-by: @mirko
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.