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

duc doesn't mention restricted folders on NFS mount #275

Open
maressyl opened this issue May 12, 2021 · 2 comments
Open

duc doesn't mention restricted folders on NFS mount #275

maressyl opened this issue May 12, 2021 · 2 comments

Comments

@maressyl
Copy link

Hi,

While indexing a large NFS share (~ 1 Po), I noticed a couple hundreds of To were missing from my grand total. Despite using -v, duc never complained about any folder I would not have access to, but I suspect the missing To are in such undetermined places.

Running a few tests, I noticed ls has a slightly different behavior in local and on the NFS share.

Locally :

$ ls -l test/
ls: impossible d'ouvrir le répertoire 'test/': Permission non accordée

On the NFS share :

$ ls -l test/
ls: lecture du répertoire 'test/': Permission non accordée
total 0

In both cases the erreor message is the same and echo $? display a code 2, but it appears as if the NFS share returned anyway an empty file list.

  • Is it possible that duc is tricked by this behavior ?
  • Has anyone experienced such a behavior on a NFS4 share ?
  • Is there any known workaround ?

Some details regarding the mount (slightly redacted using ...) :

mount -l
...:/ on /... type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=krb5,clientaddr=...,local_lock=none,addr=...)

Thanks a lot for your help, and this very useful piece of software !

Best,
Sylvain

@l8gravely
Copy link
Collaborator

l8gravely commented May 27, 2021 via email

@l8gravely
Copy link
Collaborator

Sylvain,
I've just release v1.5.0-rc1 earlier this week, it would be awesome if you could test with the new version, and even comment on this issue, since you never followed up with any more details.

John

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants