Welcome to... ... the GNU Hurd!
routine file_chflags ( chflags_file: file_t; RPT new_flags: int);
Change file flags.