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

Incrontab confused by multiple spaces as separators #76

Open
symcbean opened this issue Feb 2, 2021 · 1 comment
Open

Incrontab confused by multiple spaces as separators #76

symcbean opened this issue Feb 2, 2021 · 1 comment

Comments

@symcbean
Copy link

symcbean commented Feb 2, 2021

I see this on the the Ubuntu 0.5.10build1 pkg, also reported here - http://sudoall.com/incrond-cannot-exec-process-no-such-file-or-directory/

If there is more than one space between the three attributes in the incrontab (possibly, this may be specifically between the mask and command) incrond is unable to locate the command to be run:

Feb 2 11:51:37 liv-w01-si-ssl incrond[28755]: (system::test.colin) CMD ( touch /tmp/runbyincron)
Feb 2 11:51:37 liv-w01-si-ssl incrond[17863]: cannot exec process: No such file or directory

I appreciate the coding involved to handle this adds complexity; if you deem that the behaviour should not be changed, then it can the man pages please be updated to save other people the pain I have endured today ;)

@eworm-de
Copy link

I guess it tries to execute " touch" (note the leading space). That's not a valid executable, hence the error.

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

2 participants