{"action":"created","issue":{"url":"https://api.github.com/repos/iustin/pylibacl/issues/12","repository_url":"https://api.github.com/repos/iustin/pylibacl","labels_url":"https://api.github.com/repos/iustin/pylibacl/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/iustin/pylibacl/issues/12/comments","events_url":"https://api.github.com/repos/iustin/pylibacl/issues/12/events","html_url":"https://github.com/iustin/pylibacl/issues/12","id":389018256,"node_id":"MDU6SXNzdWUzODkwMTgyNTY=","number":12,"title":"[FreeBSD] Test do not pass on FreeBSD 11.1 and 11.2","user":{"login":"nekopep","id":2825997,"node_id":"MDQ6VXNlcjI4MjU5OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2825997?v=4","gravatar_id":"","url":"https://api.github.com/users/nekopep","html_url":"https://github.com/nekopep","followers_url":"https://api.github.com/users/nekopep/followers","following_url":"https://api.github.com/users/nekopep/following{/other_user}","gists_url":"https://api.github.com/users/nekopep/gists{/gist_id}","starred_url":"https://api.github.com/users/nekopep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekopep/subscriptions","organizations_url":"https://api.github.com/users/nekopep/orgs","repos_url":"https://api.github.com/users/nekopep/repos","events_url":"https://api.github.com/users/nekopep/events{/privacy}","received_events_url":"https://api.github.com/users/nekopep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-09T12:35:09Z","updated_at":"2019-05-10T08:38:44Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI'm running on a freebsd system (freenas 11.1 or 11.2).\r\nI've setup an iocage with python36 and python37 and downloaded pylibacl_0.5.3.\r\nif i run test: python3.7 test_acls.py I hit several error with the _file_ parameter of ACL class:\r\n\r\n```\r\nroot@test:~/pylibacl-0.5.3/test # python3.7 test_acls.py\r\n\r\n....E.FE...........EE\r\n======================================================================\r\nERROR: testFromDir (__main__.LoadTests)\r\nTest loading ACLs from a directory\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_acls.py\", line 124, in testFromDir\r\n    acl1 = posix1e.ACL(file=dname)\r\nOSError: [Errno 22] Invalid argument\r\n\r\n======================================================================\r\nERROR: testFromFile (__main__.LoadTests)\r\nTest loading ACLs from a file\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_acls.py\", line 118, in testFromFile\r\n    acl1 = posix1e.ACL(file=fname)\r\nOSError: [Errno 22] Invalid argument\r\n\r\n======================================================================\r\nERROR: testDeleteDefault (__main__.WriteTests)\r\nTest removing the default ACL\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_acls.py\", line 202, in testDeleteDefault\r\n    posix1e.delete_default(dname)\r\nOSError: [Errno 22] Invalid argument\r\n\r\n======================================================================\r\nERROR: testReapply (__main__.WriteTests)\r\nTest re-applying an ACL\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_acls.py\", line 209, in testReapply\r\n    acl1.applyto(fname)\r\nOSError: [Errno 22] Invalid argument\r\n\r\n======================================================================\r\nFAIL: testFromFd (__main__.LoadTests)\r\nTest loading ACLs from a file descriptor\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"test_acls.py\", line 135, in testFromFd\r\n    self.assertTrue(acl1.valid(), \"ACL read from fd should be valid\")\r\nAssertionError: False is not true : ACL read from fd should be valid\r\n\r\n----------------------------------------------------------------------\r\nRan 21 tests in 0.014s\r\n\r\nFAILED (failures=1, errors=4)\r\n```\r\n\r\nsystem:\r\n```\r\nroot@test:~/pylibacl-0.5.3/test # uname -a\r\nFreeBSD test 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+fc3d65faae6(freenas/11.2-stable): Wed Dec  5 15:08:42 EST 2018     root@nemesis.tn.ixsystems.com:/freenas-11.2-releng/freenas/_BE/objs/freenas-11.2-releng/freenas/_BE/os/sys/FreeNAS.amd64  amd64\r\n```\r\n\r\nDo you have any idea where I should dig to workaround this?\r\n\r\nThx!"},"comment":{"url":"https://api.github.com/repos/iustin/pylibacl/issues/comments/491209108","html_url":"https://github.com/iustin/pylibacl/issues/12#issuecomment-491209108","issue_url":"https://api.github.com/repos/iustin/pylibacl/issues/12","id":491209108,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MTIwOTEwOA==","user":{"login":"iustin","id":550045,"node_id":"MDQ6VXNlcjU1MDA0NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/550045?v=4","gravatar_id":"","url":"https://api.github.com/users/iustin","html_url":"https://github.com/iustin","followers_url":"https://api.github.com/users/iustin/followers","following_url":"https://api.github.com/users/iustin/following{/other_user}","gists_url":"https://api.github.com/users/iustin/gists{/gist_id}","starred_url":"https://api.github.com/users/iustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iustin/subscriptions","organizations_url":"https://api.github.com/users/iustin/orgs","repos_url":"https://api.github.com/users/iustin/repos","events_url":"https://api.github.com/users/iustin/events{/privacy}","received_events_url":"https://api.github.com/users/iustin/received_events","type":"User","site_admin":false},"created_at":"2019-05-10T08:38:44Z","updated_at":"2019-05-10T08:38:44Z","author_association":"OWNER","body":"Oops, forgot about this. I'll try to take a look in the next one or two weekends."}}
{"actor":{"display_login":"iustin"}}