Issue #1 resolved

eio_open fail when file owned by root

Anonymous created an issue

tested both on linux centos 5.7 and mac 10.9

================

touch test.txt

sudo chown root:root test.txt

$path ="test.txt";

eio_open($path, EIO_O_RDONLY, EIO_S_IFCHR, EIO_PRI_MAX , function ($path, $fd) { if ($fd === -1) echo "fail"; else echo "done"; }); eio_event_loop();

// show fail

Comments (1)

  1. Log in to comment