CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.59k stars 397 forks source link

Bug report - Access denied errors #822

Open freebrowser1 opened 5 years ago

freebrowser1 commented 5 years ago

How to use this template: Any line that begins with '#' is a header. Please leave the headers in as is, and fill in the information they suggest below them. These templates are here to help us resolve your issue as quickly as possible. Leaving requested information out of your issue will cause our issue template bot to request that your post be reformatted. If a header doesn't seem relevant to your issue, either write 'N/A' or something similar below the header or consider using a different template.

I used an SSH session from my Macbook (client) to Userland (server) on Android 9 Pie on Huawei Mate 9 (not rooted).

Describe the bug

Using a command which writes to local storage (/home/klaas/) issues an error 13. I used an OCR conversion tool which uses python (which I installed with apt) but also a very simple 'top' command.

klaas@localhost:$  ocrmypdf consumentengids.pdf qqq.pdf
  ERROR - [Errno 13] Permission denied
klaas@localhost:$ 

The 'top' command issued the same error.

klaas@localhost:~$ top

top: failed tty set: Permission denied
klaas@localhost:~$ 

htop issues

Cannot open /proc/stat: Permission denied

I tried it by preceding it with sudo, but to no avail. I looked up on the internet, but could not find a solution. The failed tty set is not an issue, because 'nano' and 'mc' work flawlessly.

Steps to reproduce the behavior:

For example:

  1. Start terminal (can be on-device as well).

  2. Issue command 'top'

Or: 2.

sudo apt install htop
htop

Or: sudo apt install ocrmypdf

ocrmypdf # Device Information Device: Huawei Mate 9 Android Version: Pie, 9.0. UserLAnd Version 2.5.7. Rooted: NO And running Stock ROM.
corbinlc commented 5 years ago

The issue with htop and top are being tracked here: #173