mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-15 15:42:52 +00:00
33 lines
523 B
Markdown
33 lines
523 B
Markdown
## Name
|
|
|
|
chgrp - change group ownership of file
|
|
|
|
## Synopsis
|
|
|
|
```**sh
|
|
$ chgrp <gid> <path>
|
|
$ chgrp <name> <path>
|
|
```
|
|
|
|
## Description
|
|
|
|
`chgrp` called as root or as file owner changes owning group of specified `path` to `gid` or `name`.
|
|
|
|
## Options
|
|
|
|
* `-h`, `--no-dereference`: Don't follow symlinks
|
|
|
|
## Examples
|
|
|
|
```sh
|
|
# Change group of README.md to 111
|
|
# chgrp 111 README.md
|
|
|
|
# Change group of README.md to root
|
|
# chgrp root README.md
|
|
```
|
|
|
|
## See also
|
|
|
|
* [`chmod`(1)](help://man/1/chmod)
|
|
* [`chown`(1)](help://man/1/chown)
|