LCTL-NODEMAP_SET_CAP(8)
π LCTL-NODEMAP_SET_CAP(8) β setting user capabilities, bestie edition π
okay so listen. this is a page from the Lustre Configuration Utilities manual (yes, that Lustre, the filesystem one, section 8) and it's about giving regular users on a nodemap some capabilities. it's giving permissions but make it vibes. let's go π¦
β¨ NAME β¨
lctl-nodemap_set_cap β set user capabilities π
β¨ SYNOPSIS β¨
lctl nodemap_set_cap --name NODEMAP --caps CAPABILITIES --type
{mask|set|off}
β¨ DESCRIPTION β¨
so nodemap_set_cap defines capabilities for regular users on the NODEMAP you point at, exactly as described by CAPABILITIES. no cap. π
and here's the lil twist: the CAPABILITIES you pass are a mask if the type is mask, or a 'set' if the type is set. it's giving choose-your-own-adventure but for kernel permissions. periodt.
β¨ OPTIONS β¨
--nameNODEMAP β the name of the nodemap you wanna define capabilities for. that's the one, bestie. π--capsCAPABILITIES β literally the capabilities to apply. that's it, that's the whole vibe. β¨--type{mask|set|off}β the desired type for capabilities:maskfor a capability mask,setto set user capabilities to the specified value, andoffto disable capabilities filtering. π
β¨ EXAMPLES β¨
define a capability mask as "cap_chown,cap_dac_read_search" on nodemap 'nm1':
# lctl nodemap_set_cap --name nm1 --caps cap_chown,cap_dac_read_search --type mask
add "cap_fowner" to the capability mask on nodemap 'nm1':
# lctl nodemap_set_cap --name nm1 --caps +cap_fowner --type mask
remove all capabilities users might have on nodemap 'nm1':
# lctl nodemap_set_cap --name nm1 --caps 0 --type mask
set capabilities to "cap_linux_immutable,cap_sys_resource" for regular users on nodemap 'nm2':
# lctl nodemap_set_cap --name nm2 --caps cap_linux_immutable,cap_sys_resource --type set
add "cap_fsetid" to the capabilities for regular users on nodemap 'nm2':
# lctl nodemap_set_cap --name nm2 --caps +cap_fsetid --type set
disable capabilities filtering for regular users on nodemap 'nm2':
# lctl nodemap_set_cap --name nm2 --type off
β¨ AVAILABILITY β¨
lctl nodemap_set_cap is part of the lustre(7) filesystem package since release 2.17.0. she's been here a minute and she ate. π₯
β¨ SEE ALSO β¨
lustre(7)lctl-nodemap-activate(8)lctl-nodemap-add-idmap(8)lctl-nodemap-add-range(8)lctl-nodemap-del(8)lctl-nodemap-del-idmap(8)lctl-nodemap-del-range(8)lctl-nodemap-modify(8)lctl-nodemap-new(8)
and that's the whole page, bestie!! π«Ά this was the Lustre manual page for LCTL-NODEMAP_SET_CAP(8), dated 2025-05-27, brought to you by the Lustre source. go forth and set those capabilities responsibly, mwah ππβ¨
π¦ where this page comes from
- ubuntu stonking: lustre-client-utils 2.17.58+dfsg-0ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms