wok view libfm/stuff/patches/fm-file-info.c-1.3.1 @ rev 23814

libfm: do not treat desktop entries as executables
author Hans-G?nter Theisgen
date Tue May 26 14:12:52 2020 +0100 (2020-05-26)
parents
children
line source
1 --- src/base/fm-file-info.c.orig
2 +++ src/base/fm-file-info.c
3 @@ -1385,6 +1385,7 @@
4 else if(strcmp(type, "application/x-desktop") == 0)
5 { /* treat desktop entries as executables if
6 they are native and have read permission */
7 + return FALSE;
8 if(fm_path_is_native(fi->path) && (fi->mode & (S_IRUSR|S_IRGRP|S_IROTH)))
9 {
10 if (fi->shortcut && fi->target) {