How do you set permissions ?

Discussion in 'iOS Jailbreak & Cydia' started by peebrian202869, Jun 5, 2010.

  1. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,089
    Likes Received:
    1
    Device:
    3G iPod touch
    Hi,

    on loads of tutorials it always says set permissions to 775 or 777, but how do I do that?
    And also what does it mean?

    Thanx
  2. J-Phone

    J-Phone Active Member

    Joined:
    Dec 1, 2009
    Messages:
    4,874
    Likes Received:
    14
    Device:
    iPhone 4 (Black)
    You can set permission in Winscp or uuse terminal chmod command.
  3. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,089
    Likes Received:
    1
    Device:
    3G iPod touch
    I don't know what they are, I've got mobile terminal but what the command?
  4. J-Phone

    J-Phone Active Member

    Joined:
    Dec 1, 2009
    Messages:
    4,874
    Likes Received:
    14
    Device:
    iPhone 4 (Black)
    chmod '000' / / /

    000 is the number your setting it to without ' '
    / / / is the navigation to the file your changing
  5. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,305
    Likes Received:
    127
    Device:
    iPhone 4S (White)
  6. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,089
    Likes Received:
    1
    Device:
    3G iPod touch
    chmod '777' /private/var/

    is that how the navigation would start?
  7. J-Phone

    J-Phone Active Member

    Joined:
    Dec 1, 2009
    Messages:
    4,874
    Likes Received:
    14
    Device:
    iPhone 4 (Black)
    i said without ' '

    chmod 777 /var/mobile/happy tree friends.app
  8. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,089
    Likes Received:
    1
    Device:
    3G iPod touch
    Sorry, what about a cydia app (quake4iphone) I'm setting up the iHalo mod :) and would it have to be /aplications.fgvkgf or whatever...?
  9. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,305
    Likes Received:
    127
    Device:
    iPhone 4S (White)
    1.) quotes, while unnecessary in this case, will not affect anything because they are used to ensure that an argument string containing spaces is passed as a whole to the program.

    2.) You would need to escape spaces in paths like so:
    Code:
    happy\ tree\ friends.app
    3.) The command that you posted doesn't work as expected, because it changes the permissions of a directory (.app is a directory, not a file), but no files inside are affected. You would need to tell chmod to work recursively in the directory, which is unnecessary, or simply specify a file, namely the executable in the directory.
  10. peebrian202869

    peebrian202869 Banned

    Joined:
    Nov 28, 2009
    Messages:
    2,089
    Likes Received:
    1
    Device:
    3G iPod touch
    So... What do I do?
    ------------------double post merged------------------
    chmod 777 /var/stash/Applications.9PsqHA/quake4iphone.app/
    ------------------double post merged------------------
    All it tells me to do is set permissions to 777 or 775

Share This Page