Title
#windows
l

lvferdi

01/04/2019, 8:37 PM
[ RUN      ] FileOpsTests.test_safe_permissions
c:\users\hxm563\osquery\osquery\filesystem\tests\fileops_tests.cpp(604): error: Value of: status.ok()
  Actual: true
Expected: false
c:\users\hxm563\osquery\osquery\filesystem\tests\fileops_tests.cpp(605): error: Expected equality of these values:
  1
  status.getCode()
    Which is: 0
[  FAILED  ] FileOpsTests.test_safe_permissions (38 ms)
thor

thor

01/04/2019, 10:14 PM
This is typically because the shell you're testing osquery with isn't running as Administrator
t

TonyC

01/04/2019, 11:26 PM
I get the same errors. I run as Administrator
l

lvferdi

01/05/2019, 5:56 PM
I was admin for sure
5:56 PM
Sorry for the delayed response
5:56 PM
I’m running it from a git bash window