ladybird/Base/usr/share/man/man1/chown.md
2021-09-11 15:17:44 +02:00

628 B

Name

chown - change file owner / group

Synopsis

$ chown [user][:group] files...

Description

chown changes the owner of specified files to user, and owning group to group. If group is not specified, it is left unchanged.

NOTE: The caller must be a superuser to change user ownership. Other users can use chown to change the group to one of their other group.

Examples

# Change 'file' owner and group to 'anon':
$ chown anon:anon file

# Change 'file' owner to 'root', leave group unchanged:
# chown root file

See also