Nautilus should not try to execute non-executable files, regardless of permission settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
New
|
Undecided
|
Unassigned |
Bug Description
Some (all?) USB devices with FAT, memory cards with FAT, and samba shares are mounted by default with all files having the execution permission set. This means that Nautilus asks if it should execute every single non-executable file that you double-click on in order to open it.
Instead, Nautilus should only ask to execute files with .bin, .sh, and no extension (or make a user-customizable list of extensions that should be executed). Nautilus should assume that all other files should be opened (read with default app) and not executed, regardless of their execution permission bit.
An alternative would be to simply mount all FAT devices as non-executable, but then you can't run applications from these systems, so I'm not sure how this would work.
The problem is that FAT systems don't have permissions at all, so trying to change them doesn't make sense.
Is it entirely correct to mark bug 14335 as a duplicate of the bug directly
related to FAT file systems? The problem exists in other filesystems as
well, and the behavior is observed whenever a text file (such as a .html
file) is marked as executable. I personally think that the duplication
happens the other way around.
On Mon, Jun 22, 2009 at 5:25 AM, Lightbreeze <nedhoy% <email address hidden>>
<<email address hidden>
> wrote:
> *** This bug is a duplicate of bug 14335 *** /bugs.launchpad .net/bugs/ 14335 /bugs.launchpad .net/bugs/ 390567
> https:/
>
> ** This bug has been marked a duplicate of bug 14335
> nautilus wants to execute all text files on a vfat flash drive
>
> --
> Nautilus should not try to execute non-executable files, regardless of
> permission settings
> https:/
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (via bug 14335).
>
> Status in One Hundred Paper Cuts: New
>
> Bug description:
> Some (all?) USB devices with FAT, memory cards with FAT, and samba shares
> are mounted by default with all files having the execution permission set.
> This means that Nautilus asks if it should execute every single
> non-executable file that you double-click on in order to open it.
>
> Instead, Nautilus should only ask to execute files with .bin, .sh, and no
> extension (or make a user-customizable list of extensions that should be
> executed). Nautilus should assume that all other files should be opened
> (read with default app) and not executed, regardless of their execution
> permission bit.
>
>
> An alternative would be to simply mount all FAT devices as non-executable,
> but then you can't run applications from these systems, so I'm not sure how
> this would work.
> The problem is that FAT systems don't have permissions at all, so trying to
> change them doesn't make sense.
>