Nautilus prompts to execute plain text files on sshfs mounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshfs-fuse (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Precise, nautilus 1:3.4.2-0ubuntu3
[rationale]
Nautilus (and possibly others) consider all files on a sshfs volume to be executable.
[test case]
mkdir /tmp/etc
sshfs localhost:/etc /tmp/etc
nautilus /tmp/etc
=> double click on "adduser.conf"
Nautilus prompts:
Do you want to run "adduser.conf", or display its contents?
"adduser.conf" is an executable text file.
[Run in Terminal] [Display] [Cancel] [Run]
Of course the "adduser.conf" permissions are fine in the file system and in the sshfs mount, it's not executable.
[regression potential]
The patch was taken from the upstream maling-list by the main developer, so it should be safe. Worst case scenario, I'd expect sshfs to fail pretty badly which should be discovered quite easily by testing.
Changed in nautilus: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in nautilus: | |
status: | New → In Progress |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https:/ /wiki.ubuntu. com/Bugs/ Upstream/ GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.