Skip to content

Commit 0299dda

Browse files
committed
Do not enforce executable permission for others
Signed-off-by: Uilian Ries <uilianries@gmail.com>
1 parent 7e83e3c commit 0299dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conan/tools/files/files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ def _change_permission(it_path:str):
287287
permissions = [
288288
(read, stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH),
289289
(write, stat.S_IWUSR),
290-
(execute, stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH & ~stat.S_ISUID & ~stat.S_ISGID)
290+
(execute, stat.S_IXUSR | stat.S_IXGRP)
291291
]
292292
for enabled, mask in permissions:
293293
if enabled is None:

0 commit comments

Comments
 (0)