Hello, I'm on Fedora 24 and the text files in my encfs folder are always treated as executable. I thought it was a Nautilus bug because Nautilus don't show them as executable but the Nautilus devs says it's an encfs problem (config / bug ?) after I provided some gvfs-info and stat data as you can see in the bug report for Nautilus (however Nautilus seem to have a little bug for not showing executable whereas stat and gvfs-info show it is). https://bugzilla.gnome.org/show_bug.cgi?id=769181 Is there a bug or a config problem for encfs ? In doubt I also open an issue against encfs upstream https://github.com/vgough/encfs/issues/190 Thanks !
I experience the problem on text files but I guess they are all marked as executable.
Can you give simple steps to reproduce this problem? If you just run touch file.txt in encfs directory then file.txt has exec bit? Show output of command: mount | grep encfs ls -la <encfs_directory>
(In reply to Vasiliy Glazov from comment #2) > Can you give simple steps to reproduce this problem? Of course everything you need. > If you just run > touch file.txt > in encfs directory then file.txt has exec bit? It don't seem so : Fichier : 'test.txt' Taille : 0 Blocs : 0 Blocs d'E/S : 4096 fichier vide Périphérique : 2ch/44d Inœud : 7604645 Liens : 1 Accès : (0664/-rw-rw-r--) UID : ( 1000/ jeremy) GID : ( 1000/ jeremy) Accès : 2016-08-03 14:57:43.433772000 +0200 Modif. : 2016-08-03 14:57:43.433772000 +0200 Changt : 2016-08-03 14:57:43.433772956 +0200 Créé : - Here is the stat of a file already in encfs folder: stat notes.txt Fichier : 'notes.txt' Taille : 116 Blocs : 8 Blocs d'E/S : 4096 fichier Périphérique : 2ch/44d Inœud : 7733358 Liens : 1 Accès : (0644/-rw-r--r--) UID : ( 1000/ jeremy) GID : ( 1000/ jeremy) Accès : 2016-07-08 10:13:57.134234000 +0200 Modif. : 2015-01-19 04:34:46.000000000 +0100 Changt : 2016-07-25 15:39:33.944590126 +0200 Créé : - Nautilus treat both files as executable. To remember here is the stat of the encfs folder: Fichier : '/media/Data/Decrypted/' Taille : 4096 Blocs : 8 Blocs d'E/S : 4096 répertoire Périphérique : 2ch/44d Inœud : 7602177 Liens : 5 Accès : (0700/drwx------) UID : ( 1000/ jeremy) GID : ( 1000/ jeremy) Accès : 2016-07-08 13:13:10.069490085 +0200 Modif. : 2016-08-03 14:59:09.161554253 +0200 Changt : 2016-08-03 14:59:09.161554253 +0200 Créé : - > Show output of command: > mount | grep encfs encfs on /media/Data/Decrypted type fuse.encfs (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000) > ls -la <encfs_directory> total 20 drwx------ 5 jeremy jeremy 4096 3 août 14:59 . drwxr-xr-x. 17 jeremy jeremy 4096 25 juil. 16:11 .. drwxrwxr-x 4 jeremy jeremy 4096 18 juil. 13:47 Browsers drwxr-xr-x 4 jeremy jeremy 4096 26 juil. 17:07 Documents drwx------ 5 jeremy jeremy 4096 9 juil. 11:10 .Trash-1000
If in console files are not executable then it is Nautilus problem.
That what I guessed with these new infos. I will see with Nautilus guys and close this as soon as they confirm. Thanks !
The problem don't happen in master and we are on 1.8.1. I quote Christian Kellner that found the solution > Doesn't happen with encfs master (what will be 1.9): "access::can-execute: FALSE" Probably related to changes in encfs and the passing of "-o default_permission" to FUSE. https://bugzilla.gnome.org/show_bug.cgi?id=769181#c7 Maybe we could backport the right commit or update encfs ? Thanks !
If you find that commit I can apply patch else it would be better wait 1.9.0 release.
Here it is: https://github.com/vgough/encfs/commit/87ee4b7d99781630c467df265dbe0b66b98de3b5
Try this update https://kojipkgs.fedoraproject.org//work/tasks/7553/15127553/fuse-encfs-1.8.1-2.fc24.x86_64.rpm
That work well. Thanks !
fuse-encfs-1.8.1-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-64d1842d0a
fuse-encfs-1.8.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-5107a56f0d
fuse-encfs-1.8.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-5107a56f0d
fuse-encfs-1.8.1-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-64d1842d0a
fuse-encfs-1.8.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
fuse-encfs-1.8.1-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.