permission 755 ???

Discussion in 'iOS Jailbreak & Cydia' started by theshredaholic, Oct 21, 2007.

  1. theshredaholic

    theshredaholic New Member

    Joined:
    Oct 15, 2007
    Messages:
    95
    Likes Received:
    1
    Device:
    iPod touch
    exactly what is a permission 755...
    i'm trying to change it for customize.app, but since i'm not sure what it is, i dont know what to look for...

    i used iBrickr to replace the customize.app file.... now am trying to change the permissions through moile finder... i have no wiFi at home so i'm forced to use there methods... any help would be greatly appreciated...
  2. Glisern

    Glisern New Member

    Joined:
    Oct 17, 2007
    Messages:
    38
    Likes Received:
    0
    Device:
    2G iPod touch
    As far as i know, the only way you can set permissions to a file, is if you use a FTP program over WiFi.. But the permission 755 says that only a special type of program or user, can use the program as it is intended. Like, 755 may give a program access to both write and read it, whilst 644 may block writing.

    It's a little hard to explain, but Google is your friend.
  3. theshredaholic

    theshredaholic New Member

    Joined:
    Oct 15, 2007
    Messages:
    95
    Likes Received:
    1
    Device:
    iPod touch
    now so are u... thanks for the info....
  4. Andy Huang

    Andy Huang Retired Moderator

    Joined:
    Oct 5, 2007
    Messages:
    968
    Likes Received:
    5
    Device:
    iPhone 4 (Black)
    Permissions can be set via SFTP client that supports it, or directly via SSH command-line.

    the three numbers are unix file systems permission mask:
    * first digit means owner, second digit means group, third digit means everyone.
    * READ access is 4, WRITE access is 2, EXECUTE access is 1

    Thus:
    644 = Owner can read + write the file, group that the owner is in can read it, everyone else can read it
    755 = Onwer can read + write + execute the file, groip that the owner is in can read + execute it, everyone else can read + execute it

    777 = everyone can do whatever they want with the file...
    000 = No one can touch the file, at all.

    The other mentioning of a+x means "everyone add execution right", so chmod a+x will add 1 to all the permission masks if they don't already have it.

    chmod a+x /bin/ladin
    Give anyone the right to execute bin ladin

    Please Register or Log in to view images

  5. theshredaholic

    theshredaholic New Member

    Joined:
    Oct 15, 2007
    Messages:
    95
    Likes Received:
    1
    Device:
    iPod touch
    ok... heres the next development...

    so i installed squid(file manager)
    and i installed customise and put the hacked version of customise.app...now, in the file properties of the file, theres a line which tells the user
    the permisssions in the following way :

    Permissions : 493 (755)

    Owner Group Other

    x Read x Read x Read
    x Write x Write x Write
    x Exec x Exec x Exec

    Apply





    now, i can change the x's and when i hit apply, the permission number changes

    so basically, the 493 (755) changes..
    so i'm wondering if the 755 up there is what i wanted...

    any comments???
  6. mjhamilton

    mjhamilton New Member

    Joined:
    Oct 17, 2007
    Messages:
    74
    Likes Received:
    0
    Device:
    iPod touch
    755

    this is the unix permission system.. the 3 number represent the privileges for user, group and all.. and they represent binary form

    so for example 7 = 111 and the 3 binary bits represent rwx (read,write,execute)... so in this case the user, group or all can read, write and execute the file...

    and 5 = 101 = r_x so the user,group or all and read and execute but not write to the files...

    O= owner ; G=Group ; A=All
    O G A O G A
    so if we put 755 = 111 101 101 = rwx r_x r_x
    so the owner of the file can do everything
    the group that the files belongs to can read and execute but not write
    and everyone else can read and execute but not write to the file

    Does that make any sense??
  7. theshredaholic

    theshredaholic New Member

    Joined:
    Oct 15, 2007
    Messages:
    95
    Likes Received:
    1
    Device:
    iPod touch
    well....yeah.. it does a bit..
    so the number 755 IS what i want rite???
    cause even after doing that customize aint working..

    do u have any idea of how to tackle this???


    goddamnit, i want to get into this programming stuff big time

Share This Page