I asked this on Stack Overflow and they told me ask this question here. I've searched the net for pages mentioning file attributes and system calls, but none of them ever say which system call is responsible for changing the various attributes of a file or a folder. It's been implied that fcntl() is what I'm looking for, but it lacks arguments for the path and the new set of file attributes.
Which system call is used for modifying file attributes on Linux?
linux