pyslk.chgrp#
- pyslk.chgrp(gns_path: str, group: str | int, recursive: bool = False) dict | None #
Change the group of a resource or namespace
- Parameters:
gns_path (
str
) – namespace or file (full GNS path)group (
str
orint
) – new group of a file (group name or gid)recursive (
bool
) – use the -R flag to delete recursively, Default: False
- Returns:
dict with stdout/stderr, exit code and lists of files with correct and incorrect group; None if gns_path does not exist
- Return type:
dict
orNone