Jump to content


Photo

PW Installation Questions

installation

  • Please log in to reply
6 replies to this topic

#1 Gazley

Gazley

    Sr. Member

  • Members
  • PipPipPipPip
  • 239 posts
  • 38

  • LocationManchester, UK

Posted 06 August 2012 - 03:56 PM

Hi,

I've started to install PW and I am seeing the following messages:

As to error 1, should these be writable for the Apache user, IOW, www-data ?
Same question again for error 2
  • Error: Directory ./site/assets/ must be writable. Please adjust the permissions before continuing.
  • Error: File ./site/config.php must be writable. Please adjust the permissions before continuing.
Many thanks,

--Gary

#2 yellowled

yellowled

    Sr. Member

  • Members
  • PipPipPipPip
  • 183 posts
  • 117

  • LocationEutin, Germany

Posted 06 August 2012 - 08:17 PM

This is not necessary a question which can be answered with one sentence. It depends on the setup of you web server/web host. My web host, i.e. is set up to run using suExec, which means all script languages run with my user's permissions. You might or might not have a similar setup.

That being said, as a rule of thumb (in most setups) both should be writeable for the web server user.

#3 Gazley

Gazley

    Sr. Member

  • Members
  • PipPipPipPip
  • 239 posts
  • 38

  • LocationManchester, UK

Posted 07 August 2012 - 12:10 AM

Thanks for the confirmation :)

#4 totoff

totoff

    Distinguished Member

  • Members
  • PipPipPip
  • 87 posts
  • 39

  • LocationCologne, Germany

Posted 09 August 2012 - 05:49 AM

hello forum,

i've just installed pw in a shared hosting environment and was prompted the same errors. i've set chowner for /site recursively to www-data in order to proceed with the installer. after that i've changed chowner for /site/config.php back to my ftp-user and set chmod to 0644.

however, i'm still concerned about www-data being the owner of the whole /site directory.

my question: would it be sufficient to give pw write permission only for /site/assets/? or does pw needs write permission for /site and all it's subdirectories?

unfortunately in my hosting environment changing chowner is the only way to give a php-script, that has been created by an installer, write permission.

thanks for your time.

#5 Pete

Pete

    Administrator

  • Administrators
  • 1,756 posts
  • 658

  • LocationChester, England

Posted 09 August 2012 - 07:12 AM

PW will only need write access to the /site/assets directory so that should be fine.

#6 totoff

totoff

    Distinguished Member

  • Members
  • PipPipPip
  • 87 posts
  • 39

  • LocationCologne, Germany

Posted 09 August 2012 - 07:21 AM

thank you very much pete. i'm excited to start off with my first pw project. hope that i don't have to come back here too often ;-)

Edited by totoff, 09 August 2012 - 07:22 AM.


#7 Pete

Pete

    Administrator

  • Administrators
  • 1,756 posts
  • 658

  • LocationChester, England

Posted 09 August 2012 - 03:37 PM

Well you're welcome any time :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users