Skip to content

v2.1.1 Add permissions for individual extra files Latest

Latest
Compare
Choose a tag to compare
@kevinconway kevinconway released this 24 Feb 07:20
· 2 commits to master since this release
5524daa

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.

Note: This is identical to 2.1.0 except that it includes a change to the setup.py version. I forgot to do this in the 2.1.0 tag.