-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
fs.stat should provide the stats although there is no permission #22577
Comments
@nodejs/platform-windows |
|
The |
Closing due to inability to replicate, but please re-open if there's more information or someone manages to replicate this issue. |
If you are calling fs.stat or fs.statSync on an item where you don't have permissions to read the error or respective the exception is of the EPERM / EBUSY type. But this shouldn't be occur on reading the stats of a file or folder it should occur when you try to read the content of the file/folder but not when reading the stats.
Because when you use the Explorer or an other file manager you are able to see the files/folders and their information - you can't enter or open - but you can see the information about it.
This should be supported by node.js as well.
The text was updated successfully, but these errors were encountered: