Before You Begin
If you are not the owner of the file or directory, you must be assigned the Object Access Management rights profile. To change a file that is a public object, you must assume the root role.
For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .
% chgrp scifi example-file
For information about setting up groups, see Chapter 1, About User Accounts and User Environments, in Managing User Accounts and User Environments in Oracle Solaris 11.2 .
% ls -l example-file -rw-r--r-- 1 stacey scifi 112640 June 20 08:55 example-file
Also see Example 1–2.