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

Cannot access /dev/fsevents monitor #428

Closed
christ-a-lix opened this issue Feb 25, 2017 · 4 comments

Comments

@christ-a-lix
Copy link

commented Feb 25, 2017

This command lsyncd /var/log/lsyncd/lsyncd.conf.lua gives me the following:
Warn: Using /dev/fsevents which is considered an OSX internal interface.
Warn: Functionality might break across OSX versions (This is for 10.5.X)
Warn: A hanging Lsyncd might cause Spotlight/Timemachine doing extra work.
Error: Cannot access /dev/fsevents monitor! (1:Operation not permitted)

I am using rsync 3.1.2, mac 10.12.3, lsyncd 2.2.2

@ValeriyMaslenikov

This comment has been minimized.

Copy link

commented Mar 3, 2017

Hi, I had the same issue, but it is solved for me by executing lsyncd with sudo

@axkibe

This comment has been minimized.

Copy link
Owner

commented Mar 9, 2018

Lsyncd needs to be ran as root on OSX.

However, the thing is, the whole OSX interface is dated. I currently don't advise using it, until someone rewrites the FsEvents Layer.

@axkibe axkibe closed this Mar 9, 2018

@wuservices

This comment has been minimized.

Copy link

commented Mar 9, 2018

I got it to work with sudo in brief testing as well on High Sierra. At first glance, it seemed to work pretty well, and I'm hoping to replace vagrant-gatling-rsync with it to quickly push dev changes to a remote environment.

Understood that it might not be in the best state now, but are there specific issues I might want to look out for, or if it works, should I be good to go?

Thanks for your work on this utility!

@axkibe

This comment has been minimized.

Copy link
Owner

commented Mar 9, 2018

The whole OSX line is no longer maintained, so I advise against using it. I'm not planning on maintaining a FsEvents layers myself, however I'd accept somebody doing this for Lsyncd.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.