getcifsacl(1)

πŸ’– getcifsacl β€” the manual page, but make it a group chat πŸ’–

okay bestie, sit down, we're doing getcifsacl(1) from the General Commands Manual and honestly? it's giving ✨quiet competence✨. no cap.


🌸 NAME 🌸

getcifsacl β€” a userspace helper that displays an ACL inside a security descriptor for the Common Internet File System (CIFS). periodt πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

getcifsacl [-v|-r] {file system object}

like. that's the whole vibe. one file system object, maybe two flags. iconic.


πŸ¦‹ DESCRIPTION πŸ¦‹

so this little tool is part of the cifs-utils suite 🫢 β€” she doesn't run the show, she's the friend who shows up with receipts.

getcifsacl is a userspace helper program for the Linux CIFS client file system. her whole job, her main character moment, is to display a security descriptor β€” and yes that includes the DACL and the SACL β€” for a file system object. 😌

here's the part you need to know though, fr fr: this program uses a plugin to handle the mapping of SIDs to user and group names. and the plugin path? /etc/cifs-utils/idmap-plugin. that should be a symlink that points to the correct plugin to use. so if the SID-to-name glow-up isn't happening, bestie, check your symlink. πŸ”

now the layout, because the format is chef's kiss:

  • fields of an ACE β€” think SID, type, flags, and mask β€” are displayed separated by /
  • numeric values of type, flags, and mask are displayed in hexadecimal format

so a SID, a slash, a type, a slash, flags, a slash, mask. slay. πŸ“


✨ OPTIONS ✨

  • -v β€” print the version number and exit. short, sweet, done. πŸ‘‹
  • -r β€” display a security descriptor in raw mode. values such as type and flags get shown in hexadecimal format, and a SID is not mapped to a name. no name-mapping makeup, just the raw face. πŸ’€
  • -R β€” list the ACLs of all files and directories recursively. go off, queen, dig through the whole tree. 🌈

πŸ’œ NOTES πŸ’œ

kernel support for the getcifsacl/setcifsacl utilities was initially introduced in the 2.6.37 kernel. ancient history, but she ate. ⭐


πŸ”₯ SEE ALSO πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Shirish Pargaonkar wrote the getcifsacl program. absolute legend behavior. 🫑

and if you've got questions about these programs? the Linux CIFS Mailing list is the preferred place to ask. not the group chat, not the DMs β€” the mailing list. iykyk. 😭


and that's the whole page bestie!! getcifsacl(1) from the General Commands Manual, and yes the footer is also just getcifsacl(1) because she said "my name is enough." no version, no date, just pure confidence. πŸ’…βœ¨ bye pookie, go map some SIDs πŸ§šπŸ’–