Base directoy of Source Fileshepper not changeble

Hallo
I installed fileshipper and enabled the module.
I created imports.ini :
cat /usr/share/icingaweb2/modules/fileshipper/imports.ini
[A bunch of files]
basedir = “/var/cache/various_files”

ls -ls imports.ini

4 -rw-r–r-- 1 root root 56 Aug 29 15:33 imports.ini

ls -ls /var/cache/
total 68
4 drwxr-xr-x 3 root root 4096 Aug 23 08:21 apache2
4 drwxr-xr-x 2 root root 4096 Aug 22 23:49 apparmor
4 drwxr-xr-x 3 root root 4096 Aug 29 15:46 apt
4 drwxr-xr-x 2 root root 4096 Aug 29 15:46 apt-show-versions
4 drwxr-xr-x 3 root root 4096 Aug 23 07:18 dbconfig-common
4 drwxr-xr-x 2 root root 4096 Aug 26 06:48 debconf
4 drwxr-x— 2 nagios www-data 4096 Aug 29 15:27 icinga2
4 drwx------ 2 root root 4096 Aug 29 08:41 ldconfig
4 drwxr-xr-x 35 man man 4096 Aug 29 08:41 man
4 -rw-r–r-- 1 root root 268 Aug 29 15:31 motd-news
4 drwxr-xr-x 2 pollinate root 4096 Aug 22 14:11 pollinate
4 drwxr-xr-x 3 root root 4096 Aug 23 07:09 postgresql
4 drwxr-xr-x 2 root root 4096 Aug 6 11:30 samba
4 drwxr-xr-x 2 nagios www-data 4096 Aug 29 15:25 sample-nodes
4 drwxr-xr-x 2 root root 4096 Aug 29 15:27 snapd
4 drwxr-xr-x 2 root root 4096 Aug 23 06:25 ubuntu-advantage-tools
4 drwxr-xr-x 2 nagios www-data 4096 Aug 29 15:42 various_files

su variuos_files is readble by www-data

What could I check?

Thanks a lot

Mario

You created the imports.ini file in the wrong place, it should be in /etc/icingaweb2/modules/fileshipper.

1 Like