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

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

Closed
echogram opened this issue Sep 28, 2020 · 2 comments
Closed

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

echogram opened this issue Sep 28, 2020 · 2 comments

Comments

@echogram
Copy link

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

@project-bot project-bot bot added this to To do in Issue & PR Tracker Sep 28, 2020
@github-actions
Copy link

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

@github-actions
Copy link

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.

Issue & PR Tracker automation moved this from To do to Done Oct 29, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Development

No branches or pull requests

1 participant