Troubleshooting file monitor permission issue
Hello, While configuring cribl edge source of type file monitor and setting discovery mode to manual, it keeps on telling me permission denied(attached) and the *.log files are not monitored, although the user running cribl have access to this directory and the underneath *.log files. Attached the configuration of the source. Any idea what could be causing this issue?
Answers
-
can you share a listing of the directory in question? `ls -las`
0 -
- Need to see the perms of the directory as well, not just the files 2. dataiku is the user that Cribl is running as?
0 -
attached the permissions of the directory, cribladm is the user running cribl, but this user is added to the dataiku group.
0 -
try putting Group=dataiku in the systemd config file
0 -
```$ sudo systemctl edit cribl```
0 -
```[Service] Group=dataiku```
0 -
then restart it ```$ sudo systemctl restart cribl```
0 -
cribl is not running as a systemd process
0 -
since making the change to /etc/groups, did you log out or restart? How did you start cribl? (this is a linux perms issue, not a cribl issue)
0 -
No, cribl wasn't restarted. We are already able to list/read the intended files in the server using cribl user attached.
0 -
cribl is now restarted and the issue is solved, thanks <@ULBGHDPNY>
0