Causes of File Reading failure using adb pull command from android system and Solutions

Source: Internet
Author: User

Problem: An error occurred while reading the file from the android system using the adb pull command. Display: Permission denied

Cause: it is caused by file permissions. Run the ls-l command to view the file permissions in android:-rw ---- app_51 app_51. That is to say, only app_51 users and app_51 groups have the read and write permissions on the file, the adb shell user is shell, neither app_51 user nor app_51 group, so the user has no permission to read the file. So Permission denied appears. Solution: Modify the File Permission. Use the su command to log on to the Super User. Modify the File Permission so that other users can read the file. Chmod 664 file name if you want to use adb push to overwrite this file with files on your computer, you need to grant the write permission to other users, that is, the chmod 666 file name.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.