linuxserver / docker-diskover

A Docker container for the Diskover space mapping application
GNU General Public License v3.0
76 stars 16 forks source link

Diskover crawler cannot crawl '0700 root root' directories #37

Closed echogram closed 3 years ago

echogram commented 4 years ago

linuxserver.io

There is a major directory tree (/var/lib/docker) that I want diskover to crawl (so I can monitor volume growth) but the permissions of most of the top level directories in it are: drwx------ root root

The diskover container will not start as PUID=0 and I do not want to change the permissions of the directory tree. Since there is no group access, I cannot resolve this by adding user 1000 to a group 0 (which I would not to do anyway).

Is there a solution to this using cap_add of CAP_DAC_READ_SEARCH in the docker-compose.yml?

Expected Behavior

Should be able to crawl 0700 root root directories

Current Behavior

0700 root root directories are skipped

Steps to Reproduce

Direct crawler to crawl over a directory tree containing 0700 root root directories

Environment

OS: Ubuntu 20.04
CPU architecture:x86_64
**How docker service was installed: Ubuntu 20.04 repos

Command used to create docker container (run/create/compose/screenshot)

docker-compose up -d

Docker logs

Not relevant

github-actions[bot] commented 4 years ago

Thanks for opening your first issue here! Be sure to follow the issue template!

github-actions[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.