*Permission denied* while being *root* #17

Open
opened 2024-09-05 01:36:16 +02:00 by Benjamin_Loison · 0 comments
adb shell whoami
root
adb shell ls /storage/emulated/
ls: /storage/emulated/: Permission denied
adb shell ls /storage/ -lah
total 7
drwx--x---  4 shell everybody   80 1971-01-13 22:29 .
drwxr-xr-x 29 root  root      4.0K 2009-01-01 01:00 ..
dr-x--x--x  4 root  everybody 3.3K 2024-08-21 04:56 emulated
drwxr-xr-x  2 root  root        60 2024-09-05 01:03 self
adb shell ls /storage/self/ -lah
total 0
drwxr-xr-x 2 root  root      60 2024-09-05 01:03 .
drwx--x--- 4 shell everybody 80 1971-01-13 22:29 ..
lrwxrwxrwx 1 root  root      19 2024-09-05 01:03 primary -> /storage/emulated/0

on Fairphone 4 LineageOS.

```bash adb shell whoami ``` ``` root ``` ```bash adb shell ls /storage/emulated/ ``` ``` ls: /storage/emulated/: Permission denied ``` ```bash adb shell ls /storage/ -lah ``` ``` total 7 drwx--x--- 4 shell everybody 80 1971-01-13 22:29 . drwxr-xr-x 29 root root 4.0K 2009-01-01 01:00 .. dr-x--x--x 4 root everybody 3.3K 2024-08-21 04:56 emulated drwxr-xr-x 2 root root 60 2024-09-05 01:03 self ``` ```bash adb shell ls /storage/self/ -lah ``` ``` total 0 drwxr-xr-x 2 root root 60 2024-09-05 01:03 . drwx--x--- 4 shell everybody 80 1971-01-13 22:29 .. lrwxrwxrwx 1 root root 19 2024-09-05 01:03 primary -> /storage/emulated/0 ``` on Fairphone 4 LineageOS.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Benjamin_Loison/adb#17
No description provided.