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".
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.
(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
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.