
In a multi-user environment, security of user and system data is important. Linux™ has three distinct classes:
r - permesso di lettura, che garantisce la capacità di leggere un file.
w - permesso di scrittura, che garantisce la capacità di modificare un file.
x - permesso di esecuzione, che garantisce la capacità di eseguire un file.
L'elenco sopra mostra la notazione simbolica di ciascun permesso, evidenziata in grassetto. Ciascun permesso ha anche una notazione ottale (rappresentata dalle cifre da 0 a 7):
r - 4
w - 2
x - 1
To view permissions, open a terminal by going to → → → and then type
ls -l ~/
This will output a list of the directories and files in the current user's home directory. For example:
drwxr-xr-x 2 username usergroup 4096 2009-12-17 11:10 Documents
La prima colonna, che contiene drwxr-xr-x, può essere interpretata come segue:
Tipo di file | Permessi utente | Permessi gruppo | Altri permessi |
---|---|---|---|
d - directory | rwx - read, write, and execute permissions for the user | r-x - read and execute permissions for the group | r-x - read and execute permissions for all others |