DOBY
DOBY

Reputation: 77

How to access files without rooting on an Android device

I try to read the file using adb. However, "Permission Denied" is printed and Permission is "lrwxrwxrwx".

Question 1: How can I read this file without rooting?

Question 2: What does "l" mean in "lrwxrwxrwx"?

Upvotes: 0

Views: 2110

Answers (2)

JunJie Wang
JunJie Wang

Reputation: 470

The first letter is simply the type of file. This letter will be one of following three.

  l for a link to another file, 
  d for a directory 
  - for a file and is set by the linux operating system

Upvotes: 2

PartTimeNerd
PartTimeNerd

Reputation: 305

  1. You can do a cat: adb shell cat /sdcard/D_Permission/foo.txt

  2. lrwxrwxrwx can be read as, Link (Read, Write, Execute)*3.

Upvotes: 1

Related Questions