-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
[Termux] PermissionError: [Errno 13] Permission denied: '/proc/filesystems' #2191
Comments
Notes to self:
@babaric-dev what happens if you call |
With or without
As I said, |
…k partitions Signed-off-by: Giampaolo Rodola <[email protected]>
I just pushed 2da9950. Can you try installing psutil from latest
|
Works! But after updating to |
Why can't we close this? |
Because of:
|
For proot-distro, you can fix this issue by following these steps. First, download fake /proc files(proc.tar.xz) from here. And then extract file named filesystems to your termux home directory. Last, append this |
Summary
Description
I ran this in the Python interactive console of PRoot Ubuntu:
It shows
PermissionError
.True that we can't really access
/proc/filesystems
on Android. But at least handle the error withtry
except
and return[]
?Better solution: use another way of getting partitions.
The text was updated successfully, but these errors were encountered: