mojohaus / rpm-maven-plugin

http://www.mojohaus.org/rpm-maven-plugin/
Other
56 stars 48 forks source link

Add <dirmode> parameter to <mapping> #82

Closed chklauser closed 6 years ago

chklauser commented 7 years ago

Adds a new <dirmode> setting to <mapping> elements that controls the mode of directories created implicitly as part of translating the mapping element into RPM spec file entries. ( recurseDirectories=true)

For many packages, the user wants ordinary files without the executable bit, while creating directories with the executable bit (so that they can be listed/enumerated)

If 'dirmode' is missing, 'filemode' will be used in an effort to maintain backwards compatibility with the original behaviour.

chklauser commented 7 years ago

Should resolve #33