Skip to main content
Solved

File Monitor Configuration Failing With: EACCES Permission Denied Error

  • April 29, 2026
  • 4 replies
  • 1 view

This message originated from Cribl Community Slack.
Click here to view the original link.

Hello all, I'm trying to configure File monitor on a fleet of Ubuntu host. The error I'm getting s EACCES: permission denied, watch '/var/log/whatever.log' Would the fix just be granting the Cribl user permissions over that folder? Since I don't have access to those folders, I want to see if someone has a known solution to this, can't test it out since I don't have access to the host and want to minimize effort for the team managing those host.

Best answer by Jon Rust

Specifically, the team should
  • edit systemd: systemctl edit cribl-edge
  • paste in the following
[Service]
AmbientCapabilities=CAP_DAC_READ_SEARCH
  • restart cribl: systemctl restart cribl-edge

4 replies

Jon Rust
Forum|alt.badge.img
  • Employee
  • April 29, 2026

Jon Rust
Forum|alt.badge.img
  • Employee
  • April 29, 2026
You want the CAP_DAC_READ_SEARCH capability

Jon Rust
Forum|alt.badge.img
  • Employee
  • Answer
  • April 29, 2026
Specifically, the team should
  • edit systemd: systemctl edit cribl-edge
  • paste in the following
[Service]
AmbientCapabilities=CAP_DAC_READ_SEARCH
  • restart cribl: systemctl restart cribl-edge

  • Author
  • New Participant
  • April 29, 2026
Hey @user, found a server to test on and it appears to be working after updating the conf file and restarting cribl. Thanks for the help.