Distinction between Chmod and Chown?

Chmod used to vary the permission of a file or a listing.
Chown used to vary the possession of a file or a listing .read-4
execute -1 chmod 644 <file identify> # example- assign what sort of permissions for the customers to have on this file.Right here,
– proprietor of the file has 4+2 =6 [ read and write] permission.
– customers in a bunch which the file belongs and different customers within the system has 4 [read] solely permission chown consumer:consumer <file identify> #instance
The chown command stands for “change proprietor” – Can assign possession for consumer and group to have the privileges to entry the file for operations.

🔥 Hot and trending web hostings deals 🔥

HostingsCoupons.com - Web Hostings Coupons, Sales, Deals and Discounts