drawterm devfs-posix Tcreate does not mask permissions properly
Wed, 4 Apr 2018 07:01:44 EDT
In a directory bind-mounted from the drawterm /mnt/term namespace, touch and mkdir create world-writable files and directories regardless of the parent directory’s mode.
open(2) says that the permissions passed to create are ANDed with the permissions of the containing directory; open(5) says that servers are expected to mask permissions that way. hjfs implements the behavior specified in those man pages; 9front drawterm doesn’t.
(9front drawterm version:
changeset: 327:b3647f81f4f6 tag: tip user: henesy date: Tue Mar 20 03:45:36 2018 -0500 summary: Adding manual page drawterm.1 )