Kernel 2.4.21 2025-04-11 You must to do open(fd, O_WRITE | O_APPEND) when do (fd->owner != current->euid) fd->mode &= 00777 condition. Other way much people can hack you.