Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2011-06-13 21:56:24

broadstairs
Member
Registered: 2011-05-28
Posts: 11

Directory permissions for Piwigo

Tags: [2.2, installation]

I need to know what directories should have what permissions in order for Piwigo to run. My hosting company has smoe restrictions about what permissions are allowed  for directories and files in the web root, normally all chmod 777 files have to be in a directory which is not directly accessible from web root for security reasons. This is not an issue with any php code I have generated myself but I am having problems installing Piwigo, the net install wont work because of permissions and when I tried a manual install it still does not work. So I need to know exactly what permssions are required for which directories for normal operation.

Stuart

Offline

#2 2011-06-14 00:42:48

plg
Piwigo Team
Location: Paris, France, Europe
Registered: 2002-04-05
Posts: 11713
Website

Re: Directory permissions for Piwigo

Hi Stuart "broadstairs",

The webserver unix process must have write access to:

* _data <= this one is really mandatory
* local/combined  <= this one is really mandatory
* local/config if you want the install script to create the database.inc.php file, you can also copy it on your own
* upload if you don't add photos with the FTP+synchronization method
* themes if you want to install themes from Piwigo administration
* plugins if you want to install plugins from Piwigo administration


Latest blog post on Piwigo.com: Piwigo 2.5 on Piwigo.com (March 7th, 2013)

Offline

#3 2012-07-22 10:05:23

kajinek
Member
Registered: 2012-06-05
Posts: 33
Website

Re: Directory permissions for Piwigo

plg wrote:

Hi Stuart "broadstairs",

The webserver unix process must have write access to:

* _data <= this one is really mandatory
* local/combined  <= this one is really mandatory
* local/config if you want the install script to create the database.inc.php file, you can also copy it on your own
* upload if you don't add photos with the FTP+synchronization method
* themes if you want to install themes from Piwigo administration
* plugins if you want to install plugins from Piwigo administration

Hi, is this list valid for 2.4.1 version? I can't change the permissions by myself (I have to ask my provider for every change). So I want to make sure everything will work after upgrade from 2.3.4.

Thanks
Karel

Offline

#4 2012-07-26 20:26:56

kajinek
Member
Registered: 2012-06-05
Posts: 33
Website

Re: Directory permissions for Piwigo

Any Ideas? Or should I risk it will work after upgrade?
Thanks
K.

Offline

#5 2012-07-26 20:30:20

mistic100
Piwigo Team
Location: Avignon (Fr)
Registered: 2008-09-27
Posts: 1439
Website

Re: Directory permissions for Piwigo

the list is the same
except for local/combined which was moved to _data/combined

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013