Chown

I’m trying to adjust ownership of some files on my server and I’m a bit confused as to which means what in the following example:

chown <owner>:daemon uploads

If I chown the directory “uploads” as shown above, according to the same syntax, will I be allowing “daemon” to have the same privileges as “<owner>” or is it even really related to privileges as much as it is what processes what…?

Any clarification on this is appreciated.

The syntax for chown is


chown <owner>:<group> directory

Suppose you have a directory with permissions 0764

  • the <owner> can read + write + execute in this directory (7)
  • the <group> can read + write in this directory (6)
  • the rest of the world can only read in this directory (4).

Hope that’s clear :slight_smile:

PS. So no, you’re not giving deamon the same privileges as <owner> :slight_smile:

Thanks. That did help. :slight_smile: