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

Can't open file because projectile-index-directory stops when encountering directory where it has no permissions #1873

Open
steinarb opened this issue Jan 11, 2024 · 0 comments

Comments

@steinarb
Copy link
Contributor

Expected behavior

That I can use 'C-p p f' to open a git-versioned file in my home directory on Windows.

Actual behavior

The 'C-p p f'' command starts projectile-index-directory, which stops with the following error message:

projectile-index-directory: Opening directory: Permission denied, c:/Users/sbang/AndrMask

Steps to reproduce the problem

I'm guessing it is enough to (on windows) to add a directory to a project and remove the user's access to that directory and then try to open a file in the project with 'C-p p f'.

I can't even see the AndrMask directory in windows explorer so I can't tell what ownership and/or access rights it has.

Environment & Version information

Projectile version information

Projectile 2.8.0

Emacs version

GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31

Operating system

Windows 11 Enterprise version 22H2 build 22621.2861

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

1 participant