{"action":"created","issue":{"url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/33","labels_url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/33/comments","events_url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/33/events","html_url":"https://github.com/dmatveev/libinotify-kqueue/issues/33","id":106510627,"number":33,"title":"Test results: FreeBSD-10.2","user":{"login":"infracaninophile","id":1552340,"avatar_url":"https://avatars.githubusercontent.com/u/1552340?v=3","gravatar_id":"","url":"https://api.github.com/users/infracaninophile","html_url":"https://github.com/infracaninophile","followers_url":"https://api.github.com/users/infracaninophile/followers","following_url":"https://api.github.com/users/infracaninophile/following{/other_user}","gists_url":"https://api.github.com/users/infracaninophile/gists{/gist_id}","starred_url":"https://api.github.com/users/infracaninophile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infracaninophile/subscriptions","organizations_url":"https://api.github.com/users/infracaninophile/orgs","repos_url":"https://api.github.com/users/infracaninophile/repos","events_url":"https://api.github.com/users/infracaninophile/events{/privacy}","received_events_url":"https://api.github.com/users/infracaninophile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-15T08:45:08Z","updated_at":"2015-09-15T11:43:27Z","closed_at":null,"body":"Hi,\r\n\r\nI'm getting the following on FreeBSD-10.2 using version b2873cf8a94b0574819075a003e33c0405f1b690:\r\n```\r\n..........x............x.....x......x....x.......xx......................................x...x....x.x.....x.x..........\r\n\r\nIn test \"Directory notifications\":\r\n    failed: receive IN_MOVED_FROM event on moving file from directory to another location within the same mount point\r\n    failed: receive IN_MOVED_TO event on moving file to directory from another location within the same mount point\r\n\r\nIn test \"Open/close notifications\":\r\n    failed: receive IN_OPEN on cat\r\n    failed: receive IN_CLOSE_NOWRITE on cat\r\n    failed: receive IN_OPEN on ls\r\n    failed: receive IN_CLOSE_NOWRITE on ls\r\n    failed: receive IN_OPEN on modify\r\n    failed: receive IN_CLOSE_WRITE on modify\r\n\r\nIn test \"Symbolic links\":\r\n    failed: Start watch successfully on a symlink file with IN_DONT_FOLLOW\r\n    failed: Receive IN_ATTRIB after touching symlink itself\r\n    failed: Receive IN_MOVE_SELF after moving the symlink\r\n    failed: Receive IN_DELETE_SELF after removing the symlink\r\n\r\nIn test \"Failures\":\r\n    failed: watch id is -1, errno set to EACCES when starting watching a file without read access\r\n\r\n--------------------\r\n     Run: 119\r\n  Passed: 106\r\n  Failed: 13\r\n```\r\n```\r\n# uname -a \r\nFreeBSD stingray.adestra.com 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666: Wed Aug 12 15:26:37 UTC 2015     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64\r\n```\r\nConfigure command line:\r\n```\r\n$ ./configure --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/ --build=amd64-portbld-freebsd10.2\r\n```\r\n\r\nAside from the expected IN_OPEN, IN_CLOSE_WRITE and IN_CLOSE_NOWRITE failures what am I missing here to get all the tests passing?"},"comment":{"url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/comments/140365051","html_url":"https://github.com/dmatveev/libinotify-kqueue/issues/33#issuecomment-140365051","issue_url":"https://api.github.com/repos/dmatveev/libinotify-kqueue/issues/33","id":140365051,"user":{"login":"wulf7","id":8502098,"avatar_url":"https://avatars.githubusercontent.com/u/8502098?v=3","gravatar_id":"","url":"https://api.github.com/users/wulf7","html_url":"https://github.com/wulf7","followers_url":"https://api.github.com/users/wulf7/followers","following_url":"https://api.github.com/users/wulf7/following{/other_user}","gists_url":"https://api.github.com/users/wulf7/gists{/gist_id}","starred_url":"https://api.github.com/users/wulf7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wulf7/subscriptions","organizations_url":"https://api.github.com/users/wulf7/orgs","repos_url":"https://api.github.com/users/wulf7/repos","events_url":"https://api.github.com/users/wulf7/events{/privacy}","received_events_url":"https://api.github.com/users/wulf7/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T11:43:27Z","updated_at":"2015-09-15T11:43:27Z","body":" >> Are you tried to run tests as root?\r\n\r\n>Yes, exactly.\r\n\r\nTried this on EL6.4 just now an found that Linux root is able to open files with 000 permissions for watching also. So this issue can be considered as testsuite bug. Could you run tests as ordinary user?\r\n\r\nP.S. Thanks for reporting this."}}