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 · 5 comments
Closed

Cannot access /dev/fsevents monitor #428

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

Comments

@christ-a-lix
Copy link

@christ-a-lix christ-a-lix 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
Copy link

@ValeriyMaslenikov ValeriyMaslenikov commented Mar 3, 2017

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

Loading

@axkibe
Copy link
Collaborator

@axkibe axkibe 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.

Loading

@axkibe axkibe closed this Mar 9, 2018
@wuservices
Copy link

@wuservices wuservices 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!

Loading

@axkibe
Copy link
Collaborator

@axkibe axkibe 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.

Loading

@noway
Copy link

@noway noway commented Mar 24, 2021

What's the lsyncd alternative on MacOS then?

Loading

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

Successfully merging a pull request may close this issue.

None yet
5 participants