Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: Unable to enumerate and Access is denied error (despite enabling full disk access) #134

Open
garyhooks opened this issue Aug 16, 2023 · 6 comments

Comments

@garyhooks
Copy link

I have an Intel based Macbook Pro and when I run CyLR I get a lot of errors or "Warnings" before it starts to acquire other data. I'm unsure whether this is of concern or not.

It looks to be all in /System/ and /private/ directories

I have enabled full disk access for Terminal

2023-08-16 10_36_38-YAkX5gJ png (2718×1110)

@orlikoski
Copy link
Owner

orlikoski commented Aug 16, 2023 via email

@garyhooks
Copy link
Author

Hi,

The errors and warnings are produced after running using sudo.

I wasn't sure if /system/ and /private/ were always generally off limits?

My Mac knowledge isn't very good.

Thanks
Gary

@orlikoski
Copy link
Owner

orlikoski commented Aug 16, 2023 via email

@garyhooks
Copy link
Author

garyhooks commented Aug 16, 2023

Thanks, to show you the root usage and output I've attached another similar screenshot.

I also did exactly the same command as you listed above with the same output

2023-08-16 14_53_02-RXhT0or png (2152×1000)

@garyhooks
Copy link
Author

I let the application run all the way through - on a new install map as I am testing it. Full log is here: https://pastebin.com/VQ3Ydbxc

It errors on:

  • /private/var/folders which is only about 60mb of data
  • /System/ which is about 250mb of data

I don't believe it is critical information or of high value

@colorenz
Copy link

colorenz commented Jan 16, 2024

We see a similar problem. We try to run cylr with our management tool Jamf and get the following errors. Jamf actually has full disk access on the device. Is anything else necessary?

Get CyLR Logs Unhandled exception. System.IO.IOException: Read-only file system at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode) at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at CyLR.Logger.Setup() at CyLR.Program.Main(String[] args)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants