Title
#general
Usama Nathani

Usama Nathani

09/21/2020, 8:11 PM
When installing through the msi, there was osqueryd and osqueri available to run however when I build it, I cant run the service or find them
zwass

zwass

09/21/2020, 9:02 PM
When you build it you will find those in
.\osquery\RelWithDebInfo\osqueryd.exe
Usama Nathani

Usama Nathani

09/21/2020, 11:22 PM
Thank you for your reply, I tried running it however I got this:
11:22 PM
G:\osquery\build\osquery\RelWithDebInfo>.\osqueryd.exe E0921 16:21:19.682631 33404 shutdown.cpp:69] [Ref #1382] osqueryd has unsafe permissions: G:\osquery\build\osquery\RelWithDebInfo\osqueryd.exe
3:16 PM
Is it some permission error?
zwass

zwass

09/22/2020, 3:29 PM
Yeah, you can look at how the permissions are set up in the MSI installer to see what "safe" permissions look like. If you just want to get it to run during development you can add the
--allow_unsafe
flag.
Usama Nathani

Usama Nathani

09/24/2020, 7:50 PM
Thank you, I made it work 🙂