Results 1 to 4 of 4

Thread: Drupal installer requires permissions...

  1. #1
    Join Date
    Jun 2008
    Location
    Connecticut, USA
    Posts
    2,295
    Blog Entries
    1

    Exclamation Drupal installer requires permissions...

    I'm usually a desktop user, but right now I'm trying to get a web server up and running on my system before moving it onto a hosting site.

    I got apache working alright and unzipped Drupal into /srv/www/htdocs/tbms. Included in that location is an "install.php" page that is supposed to go through the rest of the process.

    Unfortunately when I navigate to http://localhost/tbms/index.php it forwards to http://localhost/tbms/install.php?profile=default and I get the message
    The Drupal installer requires write permissions to ./sites/default/settings.php during the installation process.
    What permissions do I need to set it for? Currently it has the owner and group 1080:1080 and changing it to root:root doesn't work.

    I am not sure what to make the permissions to make it work. I assume that this is one of those pages that will not get uploaded to the hosting server for public viewing.

    Thank you.
    Drew

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Drupal installer requires permissions...

    wwwrun should be the owner of any files that need to be written by the config.

    After you have done the config, make sure the files are owned by some other account, usually root:root will do. Except for any directories and files that drupal says it needs to write to, like upload areas, those should be owned by wwwrun and writable by that account.

  3. #3
    Join Date
    Jun 2008
    Location
    Connecticut, USA
    Posts
    2,295
    Blog Entries
    1

    Default Re: Drupal installer requires permissions...

    Quote Originally Posted by ken_yap View Post
    wwwrun should be the owner of any files that need to be written by the config.

    After you have done the config, make sure the files are owned by some other account, usually root:root will do. Except for any directories and files that drupal says it needs to write to, like upload areas, those should be owned by wwwrun and writable by that account.
    Actually I cheated, I chmod 777 the file (only).

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,683
    Blog Entries
    4

    Default Re: Drupal installer requires permissions...

    Fine. Just remember to undo it afterwards. (666 would have been sufficient, actually.)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •