[英]How to access files without rooting on an Android device
I try to read the file using adb. 我尝试使用adb读取文件。 However, "Permission Denied" is printed and Permission is "lrwxrwxrwx".
但是,打印“权限被拒绝”,并且权限是“ lrwxrwxrwx”。
Question 1: How can I read this file without rooting? 问题1:如何在不生根的情况下读取此文件?
Question 2: What does "l" mean in "lrwxrwxrwx"? 问题2:“ lrwxrwxrwx”中的“ l”是什么意思?
You can do a cat
: adb shell cat /sdcard/D_Permission/foo.txt
你可以做一个
cat
: adb shell cat /sdcard/D_Permission/foo.txt
lrwxrwxrwx can be read as, L ink ( R ead, W rite, E xecute)*3. lrwxrwxrwx可以读取为L墨水( R ead, W rite, E xecute)* 3。
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.