chown(1)
π chown β bestie edition π
okay so you found the chown(1) page from the General Commands Manual and you're like "what is this" β don't worry, I got you. this is literally the glow-up tool for file ownership. let's go β¨
πΈ NAME πΈ
chown β Change file owner and group
like. that's it. that's the whole vibe. it changes who owns a file and which group it belongs to. main character energy for your filesystem fr fr π
β¨ SYNOPSIS β¨
chown [--help] [-c|--changes] [--from] [--preserve-root]
[--no-preserve-root] [--quiet] [-R|--recursive] [--reference]
[-f|--silent] [-v|--verbose] [-H ] [-L ] [-P ] [--dereference]
[-h|--no-dereference] [-V|--version]
yes bestie, that's a LOT of flags. it's giving "I have options and I'm not afraid to use them" π
π¦ DESCRIPTION π¦
Change file owner and group
okay so the whole point: you point chown at some files and tell it who should own them and/or what group they should be in, and it makes that happen. no cap. π
π OPTIONS π
--helpβ Print help information. the "what does this even do" button π«Ά-c,--changesβ like verbose but report only when a change is made. so it's verbose but with a filter β only speaks up when something actually changed. lowkey the polite version π--from <CURRENT_OWNER:CURRENT_GROUP>β change the owner and/or group of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute. basically: "only do the thing if it currently looks like this". a little conditional, a little gatekeep-y, we love her π₯--preserve-rootβ fail to operate recursively on/. it literally refuses to touch the root directory when you're going recursive. protective queen π‘οΈ--no-preserve-rootβ do not treat/specially (the default). so by default/is fair game when you're going recursive. be careful bestie π--quietβ suppress most error messages. shhh. no drama. π-R,--recursiveβ operate on files and directories recursively. it goes down the whole tree. every folder, every subfolder, all of it π§--reference <RFILE>β use RFILE's owner and group rather than specifying OWNER:GROUP values. copy the ownership vibe straight off another file, no typing numbers. iconic π-f,--silentβ (same energy as quiet, bestie β this is the flag, that's the whole entry) π-v,--verboseβ output a diagnostic for every file processed. it tells you about EVERY single file. every one. yapper mode activated π£οΈ-Hβ if a command line argument is a symbolic link to a directory, traverse it. so only the symlinks you literally handed it on the command line get followed π-Lβ traverse every symbolic link to a directory encountered. every symlink it bumps into? followed. all of them. no skipping π-Pβ do not traverse any symbolic links (default). chill. no following. this is the default behavior π¦--dereferenceβ affect the referent of each symbolic link (this is the default), rather than the symbolic link itself. you're changing the thing the symlink points at, not the symlink. and yes, this is the default β-h,--no-dereferenceβ affect symbolic links instead of any referenced file (useful only on systems that can change the ownership of a symlink). careful β this one only does anything on systems that can actually change a symlink's ownership, so on some setups it's just... not a thing π-V,--versionβ Print version. the receipts π
π VERSION π
v(uutils coreutils) 0.7.0
a lil reminder bestie:--preserve-rootvs--no-preserve-rootmatters a LOT when you're running-R. don't be out here changing ownership of/on accident. that's not the vibe. that's a crisis π
and that's the whole page, you ate that π mwah π this was chown from uutils coreutils, version 0.7.0 β same energy as the chown(1) you'd find in the General Commands Manual, just with way better vibes. stay slay, stay recursive, and go change some ownership β¨π
π¦
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms