erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

Add the ability to chmod files in the overlay. #588

Closed djnym closed 7 years ago

djnym commented 7 years ago

Two types are supported, direct chmoding, like

{chmod, 8#00700, "path/to/file/maybe/with/{{templates}}" }

or templating the permission where you have a template var like

{file_perm, 8#00700}

and an overlay

{chmod, "{{file_perm}}","path/to/file/maybe/with/{{templates}}" }

lrascao commented 7 years ago

👍 thanks!