3.29. Changing a File's Group: chgrpThe first step toward protecting my lyrics was to change the group name of "heart.final" from "cs" to "music." I did this by using the chgrp utility, described in Figure 3-39.
I used chgrp like this: $ ls -l heart.final -rw-r--r-- 1 glass cs 213 Jan 31 00:12 heart.final $ chgrp music heart.final ...change the group. $ ls -l heart.final ...confirm it changed. -rw-r--r-- 1 glass music 213 Jan 31 00:12 heart.final $ _ You may also use chgrp to change the group of a directory. |