! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Setting executable permission for owner or group only
Status:
CLOSED: WONTFIX
Severity:
enhancement

Comments

Description Leif Thande 2006-08-10 23:03:11 CEST
In the permissions dialog of a file, there is a box with "Allow this file to run as a program". Checking this box makes the file world executable. It would be preferable to allow the file to be executable only for "Owner" or "Owner and Group".
Comment 1 Benedikt Meurer editbugs 2006-08-11 08:38:52 CEST
The exec bit is only a flag for the kernel. Whether you are able to actually execute the file depends on the read bit. So setting exec bits independently is just overhead and confusion, but does not add functionality.
Comment 2 Leif Thande 2006-08-11 15:23:53 CEST
(In reply to comment #1)
> The exec bit is only a flag for the kernel. Whether you are able to actually
> execute the file depends on the read bit. So setting exec bits independently is
> just overhead and confusion, but does not add functionality.
> 

Well I was seeing it the other way, it is possible to have rwxr--r-- for example, where it is impossible for group/users to execute but they are still able to read the file.The problem here is that thunar sets the exec bits if the file is readable, which might not be the desired behavior.

Have a nice day ! leif.thande
Comment 3 Benedikt Meurer editbugs 2006-08-11 15:32:28 CEST
Well, there might be special cases where this is necessary. But messing up the user interface to support something that isn't relevant in > 99.99% of all cases is not the way for Thunar. If you come along this issue, you're a sysadmin and know how to invoke chmod 0744 file.

Bug #2149

Reported by:
Leif Thande
Reported on: 2006-08-10
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.3.0beta1

Attachments

Additional information