https://github.com/osquery/osquery logo
#core
Title
# core
s

Stefano Bonicatti

04/07/2020, 9:43 PM
to better debug this I think you want to move the
fd.hasSafePermissions()
call here: https://github.com/osquery/osquery/blob/a9770451c527eba4cf321fe23c5306beff6ac20b/osquery/filesystem/filesystem.cpp#L527 outside the if, store the status and print
status.getMessage()
in VLOG(), because the function returns a message with the failure case, but it's currently ignored
s

seph

04/07/2020, 10:02 PM
Or PR a better error
s

Stefano Bonicatti

04/07/2020, 10:05 PM
yeah that was a following action since I do really want to be able to see all error messages 😄