Skip to main content

Module chown

Module chown 

Source

Structs§

ChownConfig
Configuration for chown/chgrp operations.

Enums§

SymlinkFollow
How to handle symlinks during recursive traversal.

Functions§

chown_file
Change the owner and/or group of a single file.
chown_recursive
Recursively change ownership of a directory tree. Uses rayon for parallel processing when verbose/changes output is not needed.
get_reference_ids
Get the owner and group of a reference file.
gid_to_name
Convert a GID to a group name string. Falls back to the numeric string.
parse_owner_spec
Parse an ownership specification string.
resolve_group
Resolve a group name to a GID, or parse a numeric GID.
resolve_user
Resolve a username to a UID, or parse a numeric UID.
uid_to_name
Convert a UID to a username string. Falls back to the numeric string.