November 1998
Beginner
368 pages
7h 58m
English
Suppose you have a file called black that is currently being used by the pot group and you want to change the file's permissions so that it can be accessed by the kettle group. To do this, you'll need to change which group the file is associated with—in this case, change the association from the pot group to the kettle group. You can change which group a file or directory is associated with using chgrp, as shown in Code Listing 5.5.
To change group association with chgrp:
1. | ls -l |
Read now
Unlock full access