jdeb icon indicating copy to clipboard operation
jdeb copied to clipboard

Create "exec" mapper that sets executable bits

Open ctron opened this issue 12 years ago • 2 comments

It would be nice if there would be a new "exec" mapper that simply sets exec bits only.

Configuration:

<mapper>
<type>exec</type>
<incldues>myapp</includes>
<user>true</user>
<group>true</group>
<other>true</other>
</mapper>

All files matching that expression get the exec bit set.

ctron avatar Nov 14 '13 11:11 ctron

Rather than adding a new mapper I think we should implement something like dh_fixperms, such that in most cases we never have to care about the permissions on the files.

http://man.he.net/man1/dh_fixperms

ebourg avatar Nov 14 '13 13:11 ebourg

Well this would be even better. But I though it would also take much longer.

ctron avatar Nov 14 '13 15:11 ctron