How to set premissions

Discussion in 'iOS Jailbreak & Cydia' started by Jpdeathblade, Feb 10, 2008.

  1. Jpdeathblade

    Jpdeathblade New Member

    Joined:
    Dec 20, 2007
    Messages:
    36
    Likes Received:
    0
    Device:
    iPhone 3G (Black)
    I am making a repo for myself (maybe for others later) and I need to know how to set the permissions of all the files and folders. I know you have to put -r somewhere but I'm not sure where.

    This is what I have now:

    <array>
    <string>SetStatus</string>
    <string>Setting Premissions to 755</string>
    </array>

    <array>
    <string>Exec</string>
    <string>/bin/chmod 755 /"Folder Path"</string>
    </array>

    any help would be awesome (and helpful as I might make another tut for repos with some more detail.)

    EDIT: Never mind, I found how to do it. For those who wish to know heres what it is.

    <array>
    <string>SetStatus</string>
    <string>Setting Premissions</string>
    </array>

    <array>
    <string>Exec</string>
    <string>/bin/chmod -R 755 /"Folder Path"</string>
    </array>

    <array>
    <string>Exec</string>
    <string>/bin/chmod -R +s /"Folder Path"</string>
    </array>
  2. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55

    in which stage would you enter this(preflight, instlall), what?

Share This Page