Close

chown

chown owner-user file
chown owner-user:owner-group file
chown owner-user:owner-group directory
chown options owner-user:owner-group file

e.g.
Change the owner of /foo to „root“
chown root /foo

Change the owner/group of /foo to „root:httpd“
chown root:httpd /foo

Change the owner of /foo and subfiles to „root“ (switch „-R“)
chown -R root /foo

Ähnliche Einträge