MX on Linux: Difference between revisions

57 bytes added ,  16:55, 4 September 2020
m
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 (4)
** '''r''' = read [4]
** '''w''' = write (2)
** '''w''' = write [2]
** '''x''' = execute (1)
** '''x''' = execute [1]
 
Note that as an alternative shorter syntax you can use numbers e.g. '''666''' is equivalent to '''ugo+rw'''. The first number relates to u, the second to g and the last to o. The values in brackets in list above are added to derive the number.  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.


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 ===
5,838

edits