SSHFS/Fuse shares - Every Text File is "Executable"
Submitted by the..@..oo.com
Link to original bug (#618833)
Description
Verified in Ubuntu 10.04 (64-bit) and openSUSE 11.2 (64-bit).
When opening files (double-clicking) within an SSHFS/Fuse share, all text files regardless of extension (.php, .txt, .html, text-file with no extension, etc.) are considered executable when opened. By default this prompts the user to execute or display the file. Files with no execute bit set (-rw-rw-r--) are incorrectly considered executable.
Does not affect other types of files (.odt .mp3, .png for examples).
Steps to reproduce (Ubuntu 10.04 64-bit)
- In terminal, install sshfs and mount a share to a valid existing local mount point:
sudo apt-get install sshfs
sshfs username@servername:<serverfolder>
<local mount point>
(Example: sshfs lucky@bigserver:/srv/www /mnt/www)
-
Create or find existing text file on the sshfs share - verify its permissions are not executable in any way.
-
Use Nautilus to navigate to the share and double-click on a text file within it.
-
User will be prompted that the file is executable and is asked to display or execute.
Version: 2.24.x