Skip to content

Indexing a folder with a subfolder that a user does not have permission to access #358

Closed

Description

@d-chambers

Description

One of the DASCore manuscript reviewers noted the following:

For some specific cases, DASCore is not able to index the data folder. For example, a permission denied error is raised if the folder contains another subdirectory which the user does not has permission on.

I think this is a bit of an unusual scenario we simply haven't encountered before. At first glance, it will probably just be a matter of including IOError in this try except block, but we need to figure out how to include an automated test for this behavior.

Activity

  1. d-chambers commented on Oct 1, 2026

    @d-chambers
    ContributorAuthor

    Fixed by #1180; an unreadable subfolder now warns and is skipped while the rest is indexed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions