FCHOWNAT(3POSIX)
π FCHOWNAT β the POSIX glow-up π
okay bestie, so this one lives in the POSIX Programmer's Manual (that's the manual name, 3POSIX section, we're fancy like that β¨) and it's about changing who owns a file β but relative to a directory file descriptor. Sneaky. Iconic. Let's go π«Ά
πΈ PROLOG πΈ
Real talk before we even start: this manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ β so if you're on Linux, go check the corresponding Linux manual page for the actual deets on Linux behavior. Also possible: the interface just isn't implemented on Linux at all. π Not me warning you first thing. Anyway.
β¨ NAME β¨
fchownat β change owner and group of a file relative to directory file descriptor
π SYNOPSIS π
#include <unistd.h>
int fchownat(int fd, const char *path, uid_t owner, gid_t group,
int flag);
π DESCRIPTION π
Bestie. Refer to chown(). That's the whole thing. The lore lives there. πβ¨
π COPYRIGHT π
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. So in the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document β like, it's the main character, this page is just the understudy. π The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html . π Not us being messy on purpose, it's a conversion thing, iykyk.
and that's the whole page, babe π¦ mwah π β with love from IEEE/The Open Group, 2017, signing off on FCHOWNAT(3POSIX) πβ
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms