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

fix: look for a .lua-format in the directory without permissions #287

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tqfx
Copy link

@tqfx tqfx commented Aug 25, 2023

Procedure

~/tree/LuaFormatter $ uname -a
Linux localhost 4.14.141-ga540ec5 #1 SMP PREEMPT Thu Feb 18 12:35:08 CST 2021 aarch64 Android
~/tree/LuaFormatter $ pwd
/data/data/com.termux/files/home/tree/LuaFormatter
~/tree/LuaFormatter $ ls /data/data
ls: cannot open directory '/data/data': Permission denied
~/tree/LuaFormatter $ build/lua-format
terminating with uncaught exception of type std::__ndk1::__fs::filesystem::filesystem_error: filesystem error: in directory_iterator::directory_iterator(...): Permission denied [/data/data]
Aborted

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

Successfully merging this pull request may close these issues.

None yet

1 participant