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
cd fails for directory without read permission, displays Permission denied
#10432
Comments
here an strace. the only EACCES occurs in line 2947, followed by printing the error message:
|
But it looks like open_dir is only used in cd and in the parser to initialize so can we just remove the functions, skip the filedescriptor and directly |
If we want to keep The flag can be |
cd
orpushd
into a directory without read permission (but with x permission) does not work in fish.This transscript was on archlinux. The same behaviour on debian stable with fish
3.6.0
it is possible to cd through the directory, if I have read permission in the target, e.g.
cd /srv/www
.The text was updated successfully, but these errors were encountered: