1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

File and Folder not created in content folder of app by normal user.

Discussion in 'Mac Programming' started by newformac, Jun 10, 2011.

  1. macrumors regular

    #1
    Hi all,

    i am using my app,and create some file and folder in Resources folder in content folder of app.

    but the content folder doesn't have write permission ,that's why my File nd Folder not created in content folder of app by normal user.

    how can i create file and folder with permission or make the Resources folder to writable.

    please help me for this.

    thanks in advance.
     
  2. Moderator

    robbieduncan

    Staff Member

    #2
    You should never, under any circumstances, be writing to any folder within your apps package. This means you should never write to your Resources folder. This is all covered in the developer documentation.
     
  3. macrumors regular

    #3
    so please tell me any other alternate for this.
     
  4. Moderator

    robbieduncan

    Staff Member

    #4
    Which documents have you looked in for the answer? Or do you expect us to read the documents for you?
     
  5. macrumors regular

    #5
    i mean to say what is the suitable location to create file and folder that is read and writable foe all type of users.
     
  6. Moderator

    robbieduncan

    Staff Member

    #6
    I would ask you again which documents you searched for an answer before posting but I get the feeling you will just evade the question because the answer is "none".

    You should read File System Overview, specifically the first few sections on domains an the Library folder(s)
     
  7. macrumors regular

    #7
    Thanks.
     

Share This Page