Transforming username and/or groupname
You can configure Ranger Usersync to perform username and/or groupname transformations in order to make them POSIX compliant.
You need to configure multiple properties to enable this feature. The values for
these properties should be in the following format (similar to Sed format):
s/regex/replacement/g
Where,
- "s" stands for substitution and is mandatory.
- "/ " is the delimiter and is mandatory.
- Regex is the regular expression to match.
- Replacement is the value to replace and is optional. If not specified, the found pattern is removed from the resulting string.
- "g" stands for replacing all the occurrences. It is optional, and if not specified, it defaults to "g".
To enable this feature, perform the following steps: