UNSETFILES(1)
π UNSETFILES π
ok so bestie, welcome to unsetfiles, a lil General Commands Manual moment π she's a whole vibe and she does exactly one (1) thing, but she does it flawlessly. let's get into it β¨
πΈ NAME πΈ
unsetfiles β Remove SELinux file security contexts. that's it, that's the whole girl. π
β¨ SYNOPSIS β¨
unsetfiles [-hnrvx] pathname ...
like literally just throw some paths at her and she goes π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea π this program removes the SELinux file security contexts of files. it's giving cleanup era. she's genuinely useful for cleaning extended file attributes after you've disabled SELinux β like when you turn the security thing off and there's just... leftover context crumbs everywhere π she sweeps them up.
π IMPORTANT BESTIE ALERT π unsetfiles will only work on SELinux disabled systems, since removing file security contexts is not supported by SELinux. so if SELinux is still on, she simply cannot, and will not. no cap. don't fight her on this, it's literally not a her problem, it's an SELinux problem π
π OPTIONS π
-hβ Show usage information and exit. she tells you how to use her, then peaces out π-nβ Do not actually remove any SELinux file security contexts. it's a lil dress rehearsal β¨ she pretends but touches nothing. dry run energy, main character pretending to be productive.-rβ Remove SELinux file security contexts recursive. she goes deep π like down into every subdirectory, she is not stopping at the surface level, she's committed.-vβ Be verbose about performed actions. she will narrate her entire life to you π£οΈ every single thing she does, announced. some people find it a lot. I find it iconic.-xβ Do not cross filesystem boundaries. she stays in her lane, respectfully π§ no hopping into other filesystems, that's not her territory and she knows it.
π ARGUMENTS π
pathname ...β One or more path names to operate on. yeah you gotta give her at least one, she's not a mind reader, she needs the receipts π
π SEE ALSO π
the rest of the SELinux girlies, go say hi π iykyk
π§ AUTHORS π§
Christian GΓΆttsche (cgzones@googlemail.com) β thank u for this gift king π«Ά
and that's a wrap, bestie!! this lil page came to you from Security Enhanced Linux, dated December 2023 π now go clean up those extended attributes, you got this, mwah πΈβ¨
π¦ where this page comes from
- centos-stream 10: policycoreutils 3.11-1.el10 Β· GPL-2.0-or-later
- debian trixie: policycoreutils 3.8.1-2
- fedora 43: policycoreutils 3.9-5.fc43 Β· GPL-2.0-or-later
- fedora 43: policycoreutils 3.9-7.fc43 Β· GPL-2.0-or-later
- fedora 44: policycoreutils 3.10-1.fc44 Β· GPL-2.0-or-later
- fedora 44: policycoreutils 3.11-2.fc44 Β· GPL-2.0-or-later
- nixos 26.05: policycoreutils 3.11
- nixpkgs unstable: policycoreutils 3.11
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- opensuse-leap 16.0: policycoreutils 3.8.1-160000.5.1 Β· GPL-2.0-or-later
- ubuntu questing: policycoreutils 3.8.1-1
- ubuntu resolute: policycoreutils 3.9-2
- ubuntu stonking: policycoreutils 3.11-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms