Sample Header Ad - 728x90

From command line on macOS, how to add a user group to the Sharing and Permissions list for a directory?

5 votes
1 answer
10626 views
The macOS gui, as shown in the attached image, provides a way to add users and user groups to the permissions of a file system directory. There are also lots of examples of how to create groups from the command line, etc (dscl, and so forth). But I don't see anything on how - from the command line - to add user groups to the permissions of a file system directory. enter image description here PS: The answers in https://apple.stackexchange.com/questions/104898/how-to-manage-users-access-to-shared-folders-from-the-command-line covers network shares, but don't show how to do what the Finder does (on an unshared folder).
Asked by christopherbalz (191 rep)
Sep 27, 2019, 12:35 AM
Last activity: May 22, 2023, 09:47 PM