|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-04-23 17:47 UTC] sean at caedmon dot net
posix_mkfifo('./FORK_FIFO', '0666'); // read&write by everyone
yeilds:
p-w---x--T 1 sean sean 0 Apr 23 17:47 FORK_FIFO
?
it SHOULD yeild:
prw-rw-rw-
The only way for me to get rw, it seems, is with '900', which gives:
prw----r-T 1 sean sean 0 Apr 23 17:48 FORK_FIFO
(note: I don't even know what T is..)
It's messed up, to say the least.
S
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 14:00:02 2025 UTC |
Partially true (I tried it without the quotes before I updated from cvs today): posix_mkfifo('./FORK_FIFO', 666); now gives: prw-r--r-- 1 sean sean 0 Apr 23 18:00 FORK_FIFO better, but still not correct. SThat's probably because of the process's umask. Try: posix_mkfifo('./FORK_FIFO', 0666); chmod('./FORK_FIFO', 0666);