5,838
edits
m (→chmod) |
m (→chmod) |
||
Line 50: | Line 50: | ||
** '''u''' = Owning user (sometimes the owner is the user root, sometimes the owner is the user Pi, for our web pages later we change ownership) | ** '''u''' = Owning user (sometimes the owner is the user root, sometimes the owner is the user Pi, for our web pages later we change ownership) | ||
** '''g''' = Group (by default there are no groups, but a group can be defined if you want to define multiple users, with different passwords, but same rights of access) | ** '''g''' = Group (by default there are no groups, but a group can be defined if you want to define multiple users, with different passwords, but same rights of access) | ||
** '''o''' = Other users (Public, needed if for example you are using FTP to move a file from a PC to your Pi) | ** '''o''' = Other users (Public, needed if for example you are using FTP to move a file from a PC to your Pi, or vice versa) | ||
* sign for add or remove permissions | * sign for add or remove permissions | ||
* '''+''' = add permission | * '''+''' = add permission | ||
* '''-''' = remove permission | * '''-''' = remove permission | ||
*letters indicating what permission is being changed | *letters indicating what permission is being changed | ||
** '''r''' = read | ** '''r''' = read [4] | ||
** '''w''' = write | ** '''w''' = write [2] | ||
** '''x''' = execute | ** '''x''' = execute [1] | ||
Note that as an alternative shorter syntax you can use numbers e.g. '''666''' is equivalent to '''ugo+rw'''. The first digit in the number relates to ''u'', the second to ''g'' and the last to ''o''. The values in [] brackets in list of permissions above are added to derive each digit. So if you are reading the Cumulus support forum and you see a reference to permissions which includes a string of 3 digits, now you can understand what is meant. | |||
=== nano === | === nano === |
edits