chown
Changes file owner
&reftitle.description;
boolchown
stringfilename
mixeduser
Attempts to change the owner of the file filename
to user user. Only the superuser may change the
owner of a file.
&reftitle.parameters;
filename
Path to the file.
user
A user name or number.
&reftitle.returnvalues;
&return.success;
&reftitle.examples;
Simple chown usage
]]>
&example.outputs.similar;
root
[passwd] => x
[uid] => 0
[gid] => 0
[gecos] => root
[dir] => /root
[shell] => /bin/bash
)
]]>
&reftitle.notes;
¬e.no-remote;
¬e.sm.uidcheck;
&reftitle.seealso;
chmod
chgrp