v2.1.0 Add permissions for individual extra files
The file_extras
plugin now allows for setting special permissions and ownership on individual files. For example:
{"file_extras": {
"files": [
{
"src": "somedir/project_init_script",
"dest": "etc/init.d/project",
},
{
"src": "somedir/with/perms",
"dest": "etc/with/perms",
"attr": {
"permissions": "0644",
"user": "testuser",
"group": "testgroup"
}
},
By default, all extra files keep their permissions and are owned to the user and group configured in the file_permissions
settings.