@drewdevault But you would require escalated privileges to set the file descriptor's flags right? So I guess that if the OS won't let you open a file with write permissions, it won't let you change the flags for the same reason and in order to change them you would need the permissions that would have let you write into the file in the first place 🤔