Finding Out Who Owns What
Your first step in changing ownership and permissions is to find out who owns which files. You’ll need this information to find out if you can make changes to the permissions.
To Find Out Who Owns What:
1. | cd
At the shell prompt, type cd to return to your home directory. | |
2. | ls -l
Enter ls -l to see the long listing of the files in the current directory. (See Code Listing 5.1.)
Code Listing 5.1. Many systems use only a few group names to allow easy file sharing and collaboration.
|
Get Unix Third Edition: Visual Quickstart Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.