iOS app reverse Engineering learning Note (iii) iOS file permissions

Source: Internet
Author: User

A group can contain multiple users, and one user can belong to more than one group.

Each file in iOS has a master user and a master group. Each file has a list of permissions.

3bit is used in iOS to represent the use of files, from high to Low, respectively, R (read), W (write), and X (execute) permissions.

There are three possibilities for file and user relationships: ( 1) This user is a master user, (2) This user is not a master user, but in the main group, (3) This user is neither a master user nor a master group.

For example:

111101101 represents rwxr-xr-x, its 8 binary is 755, it indicates that the owner of the file has R, W, x permission, but the main group is only R, x permission, and everyone else only R, x permission.


From the reverse engineering of iOS applications, the website is http://iosre.com/

The above contents may be changed, and all the original books shall prevail. Thanks to the author for sharing.


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.