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.