Menu

osx permissions solution please

zartoop
2005-01-29
2013-04-17
  • zartoop

    zartoop - 2005-01-29

    I have successfully installed and am running on OSX.

    One problem .....

    When code is generated the folders and files are owned by 'www' which is the apache process - that's ok so far BUT

    the permissions for them are
    owner (www) - write only
    group (www) - no access
    others - no access

    ie. the writer / owner of the geenrated items is www and even though I as a user am a member of www I cannot read the files unless I use term or get info to change the ownership and permissions.

    So ..... does anybody know how to get Apache/PHP/phpCodeGenie to write the files with read and write permissions?

    BTW - changing the Apache owner and group to nobody makes no difference as the files are still read only or no access.

    Tony

    I can of course go and change all this through term or get info

     
    • James Savage

      James Savage - 2005-04-07

      I have a similar problem with my generated items because this is a hosted system and I dont have access to change the permissions.  Did you find a solution?

      James

       
    • BESThip

      BESThip - 2005-09-01

      Please solution/patch on bug ReqID 1124033
      Martin

       
    • kam

      kam - 2005-09-14

      In the past, the Finder had some limitations & wouldn't properly assign user & permission settings from the Get Info window. The best bet is to do it manually.

      Open the Terminal & go into the web directory, like:

      cd /Library/WebServer/Documents/

      or if you're using your home directory:

      cd /Users/myaccount/Sites/

      Then you can:
      sudo chmod someaccountname:somegroup

      Sudo gives you root-like abilities to make the change you want. CHMOD changes the user &/or group.

      Be careful about assigning users & permissions or you may be inviting security problems. There's a lot of info on the web about *NIX commands like chmod & web security in general.

      Good luck (& happy OSX'g)!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.