chown(1)

πŸ“¦
version 0.7.0 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸ’– 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-root vs --no-preserve-root matters 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