GFAL-CHMOD(1)

πŸ’… gfal-chmod β€” the glow-up page

okay bestie, welcome to gfal-chmod(1) from the General Commands Manual section πŸŽ€ this is the little tool that changes the permissions of a file, and yes she ate πŸ’–


✨ NAME ✨

gfal-chmod β€” change the permissions of a file πŸ¦‹ that's it, that's the whole job, and she does it flawlessly


🌸 SYNOPSIS 🌸

gfal-chmod [ OPTION ]...  MODE URL

like. options first, then the MODE you want, then the URL you're blessing with it. order matters, no cap πŸ’…


πŸ’– DESCRIPTION πŸ’–

gfal-chmod changes the permissions of a file. literally that. she takes your MODE, she takes your URL, and she makes it happen ✨


πŸ‘‘ OPTIONS πŸ‘‘

the full menu, no skips, every single one, periodt:

  • -h, --help β€” shows you the help about the command 🫢 your little tutorial moment
  • -V, --version β€” outputs version information and then dips, exits immediately πŸ’¨
  • -v, --verbose β€” verbose mode, she's a talker. repeat it up to 3 times for the most verbose mode β€” three -vs is her max yapping setting 😭
  • -D, --definition DEFINITION β€” defines properties for gfal2. definitions have this exact syntax: "CONFIG_GROUP:KEY=VALUE" β€” colon between group and key, equals before the value, don't freestyle it bestie πŸŽ€
  • -t, --timeout TIMEOUT β€” global timeout for the execution of the command. the command gets interrupted if time expires before it finishes. Note: a grace period of 30 seconds is given to the global timeout β€” so she gets a lil extra runway πŸ›«
  • -E, --cert CERT β€” user certificate. and listen, this one is conditional: it only takes effect after the X509_USER_PROXY environment variable and the default /tmp/x509up_uid` -u`` location cannot provide a certificate. so like, she's the backup plan's backup plan πŸ’€
  • --key KEY β€” user private key πŸ”‘
  • -4 β€” forces Gfal2 to use IPv4 addresses only. (option valid only for GridFTP protocol)
  • -6 β€” forces Gfal2 to use IPv6 addresses only. (option valid only for GridFTP protocol)
  • -C, --client-info CLIENT_INFO β€” provide custom client-side information πŸ“‹
  • --log-file LOG_FILE β€” writes Gfal2 library logs to the given file location 🌈

πŸ¦‹ EXAMPLES πŸ¦‹

look at her go:

gfal-chmod 0755 file:///tmp/original

0755 mode, file:///tmp/original url, done. iconic behavior honestly πŸ‘‘


πŸŽ€ FILES πŸŽ€

  • /etc/gfal2.d/* β€” all configuration files in this directory affect the behavior of the underlying gfal2. yes, all of them. she reads the whole group chat πŸ“βœ¨

πŸ’œ AUTHORS πŸ’œ

the girlies (and guys) who built her, absolute legends, credit where credit is due:

  • Duarte Meneses <duarte.meneses@cern.ch>
  • Adrien Devresse <adrien.devresse@cern.ch>
  • Alejandro Alvarez Ayllon <alejandro.alvarez.ayllon@cern.ch>
  • Andrea Manzi <andrea.manzi@cern.ch>
  • Mihai Patrascoiu <mihai.patrascoiu@cern.ch>
  • Joao Lopes <joao.pedro.batista.lopes@cern.ch>

🌈 SEE ALSO 🌈

the whole friend group, go say hi to all of them:

gfal-cat(1), gfal-chmod(1), gfal-copy(1), gfal-ls(1), gfal-mkdir(1), gfal-rename(1), gfal-rm(1), gfal-save(1), gfal-stat(1), gfal-sum(1), gfal-token(1), gfal-xattr(1), gfal-evict(1), gfal-bringonline(1), gfal-archivepoll(1)


and that's the page!! πŸ’– this was v1.7.1, from March 2022, and she's still serving. k bye bestie, go chmod something responsibly 🧚✨