Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Permissions Issues

edited May 2006 in Vanilla 1.0 Help
I upgraded from 0.9.2.6 to 1 a few minutes ago. Vanilla 1 wont work unless I grant read, write and execute access to all users on the setup and styles directories. I am uncomfortable with this - am I doing something wrong? Does Vanilla need such access to these folders?

Comments

  • MarkMark Vanilla Staff
    edited May 2006
    It shouldn't. All it needs is for PHP to be able to read the files in the extensions & languages folders (so it can see and present you with those options for enabling/disabling) and it needs read and write access to the files in the conf folder (so it can retrieve and save your configuration options).

    Granting access to everyone isn't what I recommend by any means, but it is what most people choose to do because it is the easiest when you don't have total control over your server.

    My recommendation is that you make the apache user & group the owner of everything in the conf folder. In order to do this, you will need to know what the apache user and group are on your server, and not everyone knows that.

    On my server (Debian) they are www-data and www-data respectively, so I ran this command and everything worked lickety split:

    chown --recursive www-data:www-data /path/to/vanilla/conf/

    My server automatically granted php read access to everything else, so that was all I needed to do.
  • edited May 2006
    Thanks Mark - Let me try that. Great software by the way - A joy to see and use. Any idea when we can see your blogging engine? :)
  • Sometime next year.
  • lechlech Chicagoland
    "when it's done" :D
This discussion has been closed.