# Add fchmodat2() - or add a more general syscall?

- From: David Howells \<dhowells@redhat.com\>
- Date: 2023-07-25 15:59:44 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/07/256302
- Thread: https://ratatoskr.run/linux-alpha/2020/06/181723/t.md

```text
Rather than adding a fchmodat2() syscall, should we add a "set_file_attrs()"
syscall that takes a mask and allows you to set a bunch of stuff all in one
go?  Basically, an interface to notify_change() in the kernel that would allow
several stats to be set atomically.  This might be of particular interest to
network filesystems.

David

```
