chown CMD

Change the owner of file1 from user01 to user02:

# chown user02 file1

Change the group of file2 from user01 to user02:

# chown :user02 file2

Change the permissions in the “other” section to allow write access to 
this file:


# chmod 666 file1


Previous
Next Post »