ladybird/Base/usr/share/man/man1/chown.md
kleines Filmröllchen 98c0c5e9e6 Help+Base: Add help://man URLs for links between man pages
The URLs of the form `help://man/<section>/<page>` link to another help
page inside the help application. All previous relative page links are
replaced by this new form. This doesn't change any behavior but it looks
much nicer :^)

Note that man doesn't handle these new links, but the previous relative
links didn't work either.
2022-01-11 00:24:57 +01:00

31 lines
648 B
Markdown

## Name
chown - change file owner / group
## Synopsis
```**sh
$ 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
```sh
# Change 'file' owner and group to 'anon':
$ chown anon:anon file
# Change 'file' owner to 'root', leave group unchanged:
# chown root file
```
## See also
* [`chgrp`(1)](help://man/1/chgrp)
* [`chmod`(1)](help://man/1/chmod)