mache.permissions.update_permissions
- mache.permissions.update_permissions(base_paths, group, show_progress=True, group_writable=False, other_readable=True)[source]
Update the group that a directory belongs to along with the “group” and “other” permissions for the directory
- Parameters
base_paths (str or list) – The base path(s) to recursively update permissions on
group (str) – The name of the group the contents of
base_paths
should belong toshow_progress (bool, optional) – Whether to show a progress bar
group_writable (bool, optional) – Whether to allow group write permissions
other_readable (bool, optional) – Whether to allow world read (and, where appropriate, execute) permissions