Announcement

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

broadstairs
Member
2011-05-28
11

Directory permissions for Piwigo

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
Nantes, France, Europe
2002-04-05
13791

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

Offline

 

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

kajinek
Member
2012-06-05
34

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
2012-06-05
34

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
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

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

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact