-
-
Notifications
You must be signed in to change notification settings - Fork 306
Closed
Description
I have the following issue trying to run xo on my project :
> xo-eaccess-permission-denied-on-ignored-dir@1.0.0 lint
> xo
Error: EACCES: permission denied, scandir '/fakepath/xo-eaccess-permission-denied-on-ignored-dir/.data/mysql/#innodb_redo'
I created a repository to reproduce this issue.
To better explain, I have a MySQL container running alongside my Node.js API, and I’m mounting its data directory in a .data directory at my project root. I added the .data to .gitignore, expecting xo to actually ignore it, but it still tries to scan the subdirectories of .data, as per the error message.
Also tried adding .data/**/* to .gitignore, as well as adding them to the ignores xo config field, with same results.
EDIT: I know I can fix this by running something like this: sudo chgrp -R $(whoami) .data/mysql but I still think this is a bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels