Or for the fellow whos app is on the fritz and wonders if its a permissions issue or a ownership issue(not likely the case)
first ill cover the least likely thing you'll ever need to use on the iPhone: chown
chown is used to change the owner of a file, this may come in handy later on down the road as we may see more actual custom firmware that may be more like a Operating system that has users which is unlikely but just in case ill give you the command structure for chown
chown [-R] [[user]][:group] target1 [[target2 ..]]
ill go over this step by step
the parts of the command in the brackets([]) are optional but theres like a order of operations with them to so brush up on the old "PEMDAS"(Order of operations) from math.
now "-R": this is an option to recurse through a directory so everything within that folder will be changed every single little thing
user is of course the user name such as root
user groups are like on windows you have Administrators and then Regular users and when you get into Active Directory on Windows servers you can create other groups that will have different types of permissions
target(s) are the files or directories that you are going to apply the change(s) to
Simple huh?
CHMOD
--------------------------------------------------
chmod time:
chmod [options] mode file1 ...
now this command may look simple but if you don't know what your doing your going to prolly end up screwed to high heaven lol
before i go into detail further
Read: 4 Write: 2 Execute: 1
This is the values that r,w, and x are worth
and there are three rows of permissions
Owner Group Public
those are the order of the three numbers int he permissions
so if I were to say change the permissions to (0)700
that means the owner always will have read write and execute and no one else has permission to even look at that file
so in the modes part of the chmod it will look like this
rwx-----
but the permissions that were all acustomed to looking at (0)775 looks like this
rwxrwxr-x
see the pattern here?
if i were to give a owner just execute permissions(which is stupid to do by the way) and noone else have anything
100
but if i were to say use just read and write it would be
600
thats because you add the values of the r,w, and x and what you come up to in what you want the user to have will come to 0,1,2,3,4,5, or 6
depending on the permissions for the row you want it to have
so let say i want to change the permissions of MyApp.app to have the owner have rwx group to have r-x and public to just be r-- then we will have (0)754
and now to put the command to use I'll give an example
chmod rwxr-wr-- /Applications/MyApp.app
This command will really work on your iPhone by the way if you had a MyApp.app in the Applications folder
i hope this explains everything if you have and if you happen behold any equivocality in my post please apprise, and I shall recondition the document above
Translation for those of less inferior intellect: if you see anything you don't understand tell me and ill make it so you can understand
i am conceited in the matter of my brobdingnagian dialect
Edit: comments on vocab
and i'm not being arrogent or nothing the vocab stuff is just for fun and so that people will pick up a dictionary and thesauras as I know that some of the youth is not even being taught "big" words so its a way for me to expand mine and others

Sign In »
Register Now!
Help

Back to top















