SETFMAC(8)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

✨ NAME ✨

setfmac β€” set MAC label for a file system object

Okay bestie, welcome to SETFMAC(8) from the System Manager's Manual πŸ’… This is the utility that assigns MAC labels, and she is very much here to do exactly that.

πŸ¦‹ SYNOPSIS πŸ¦‹

setfmac [-hqR] label file ...

🌸 DESCRIPTION 🌸

The setfmac utility assigns the specified MAC label to the specified files. That’s the whole vibe: you give it a label, you give it one or more file ... arguments, and it does the label-assigning thing. No cap. πŸŽ€

The following options are available:

  • -R β€” Set the labels on the file hierarchies rooted in the files instead of just the files themselves. So it’s not just the file, it’s the file hierarchies rooted in those files, bestie 🌈
  • -h β€” If the file is a symbolic link, change the label of the link rather than the file that the link points to. Link label, not target label β€” iykyk πŸ”—
  • -q β€” Do not print non-fatal warnings during execution. Quiet mode: non-fatal warnings stay unspoken πŸ’…

πŸ’€ SEE ALSO πŸ’€

mac(3), mac_set_file(3), mac_set_link(3), mac(4), re_format(7), getfmac(8), setfsmac(8), mac(9)

Go read those if you want the full lore 🫢


Signed, sealed, delivered by Debian, dated February 17, 2004 β€” mwah πŸ’‹

πŸ“¦ where this page comes from