Directory items

directories = {
    "/path/to/directory": {
        "mode": "0644",
        "owner": "root",
        "group": "root",
    },
}

Attribute reference

group

Name of the group this directory belongs to. Defaults to None (don’t care about group).

mode

Directory mode as returned by stat -c %a <directory>. Defaults to None (don’t care about mode).

owner

Username of the directory’s owner. Defaults to None (don’t care about owner).