linux commands
linux commands
For example in the above example chmod 757 my_file the first 7 represents that owners
have full permissions. The second integer in the mode represenst the permissions for groups
in the above example the group has permissons only for read and execute and third integer
represents permission for other users . in the above example other users have all
permissions.
7 5 7
Permission for owners permission for other
users
Permission for
groups
Change file ownership :
Syntax : sudo chown username:group file_name
Example : sudo chown john:developers file.txt