standards/86484: [PATCH] mkfifo(1) uses wrong permissions
das at FreeBSD.org
Mon Jan 28 01:10:03 PST 2008
The following reply was made to PR standards/86484; it has been noted by GNATS.
From: David Schultz <das at FreeBSD.ORG>
To: rwatson at FreeBSD.ORG
Cc: toby at apple.com, freebsd-standards at FreeBSD.ORG
Subject: Re: standards/86484: [PATCH] mkfifo(1) uses wrong permissions
Date: Sun, 27 Jan 2008 23:17:03 -0500
POSIX's description of how umask interacts with -m for various
tools is a maze of twisting little references, all different;
it wouldn't surprise me if they meant something other than what
they said. :)
To take a step back, I would argue that mkfifo(1), mkdir(1), and
install(1) should all have similar semantics with respect to -m,
to reduce confusion. What those semantics are, I'm not sure.
Solaris 10 seems to behave as FreeBSD does, and Linux 2.6.12 seems
to behave as Toby Petersin wants FreeBSD to behave.
More information about the freebsd-standards