PVFS2-CHMOD(1)

πŸ“¦
version 2.10.1 Β· 2 versions
, in fedora 44

πŸ’… pvfs2-chmod β€” the girlies' guide to OrangeFS permissions

okay so bestie, welcome to pvfs2-chmod(1), a page from the General Commands Manual section. It's giving "I just want to fix my file perms" energy and honestly? Same. Let's go. ✨


🌸 NAME 🌸

pvfs2-chmod β€” modify permissions on files in OrangeFS volumes. That's it, that's the whole job, and it does it flawlessly. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

pvfs2-chmod [-v] mode filename(s)

yeah it's short. it's iconic. it doesn't need to be long. periodt.


✨ DESCRIPTION ✨

So like, the pvfs2-chmod utility modifies the permission bits on the OrangeFS files you point it at. πŸ’«

And the mode? You write it as a three or four digit octal number, in the conventional manner. That's the whole vibe β€” digits, not letters. (More on that in CAVEATS, bestie, and you're gonna want to read it fr fr. 😭)

The options are as follows:

  • -v β€” print the version number and exit. That's literally all it does. Cute, quick, slay. 🫢

🌈 ENVIRONMENT 🌈

Environment variables, aka the settings that be lurking in the background:

  • PVFS2_DEBUGFILE β€” if you set this to the path of a local file, the debug output gets redirected to it. All the messy little thoughts go in the file instead of your terminal. πŸ“
  • PVFS2_DEBUGMASK β€” sets the OrangeFS debug mask. The possible masks are documented over in pvfs2-set-debugmask(1), so go read that one if you're nosy. πŸ‘€
  • PVFS2TAB_FILE β€” if it's set, it's the full pathname for an alternate pvfs2tab file. An alternate. Fancy. πŸ’…

πŸ’œ FILES πŸ’œ

  • /etc/pvfs2tab

one file. one legend. 🌟


πŸ”₯ EXAMPLES πŸ”₯

Prevent other users from accessing a file. No one else gets in, we're gatekeeping:

pvfs2-chmod 600 /mnt/foo

Allow the owner and users in the file's group to read and modify the file, and other users to only read the file. So: owner + group get read and modify, everyone else just gets read:

pvfs2-chmod 664 /mnt/foo

see how the mode is literally just the octal digits and the path? no dashes, no u+x, just numbers and vibes. 😌


πŸ’€ CAVEATS πŸ’€

okay this is the important part, do not scroll past this.
  • This utility does not support symbolic permissions like the chmod(1) utility does. So no u+rwx, no go-w, none of that. Octal only. It's a choice, and it's the choice we live with. 😭
  • And ngl, here's the big one: because OrangeFS is a network file system, any user with access to the network may be able to circumvent file permissions. Yeah. Read that again. The permissions are cute but the network is not always your friend. Be aware. πŸ™ˆ

πŸ› BUGS πŸ›

Please submit bug reports to devel@lists.orangefs.org β€” the devs want to hear from you, bestie, don't be shy. πŸ’Œ


πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're the friend group. πŸ¦‹


and that's the page!! this one's from 2017-07-03, source/version and date both intact because we respect the archive in this house. mwah, go fix those perms, you ate. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from
  • fedora 44: orangefs 2.10.1-3.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND Zlib
  • fedora 44: orangefs 2.10.1-3.fc44 Β· LicenseRef-Callaway-LGPLv2+ AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND Zlib
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms