Announcement

#1 2012-08-19 01:09:54

gaptser
Member
Boston
2012-07-03
13

Automatic Upgrade Permission Settings

Every time there's a Piwigo update I do it manually, but I noticed that there is an automatic update option which judging by my automatic update error log requires me to allow readwrite to almost all my files under my piwigo directory.   

1. Is this true? 
2. Are there any security issues with this approach? 
3. Do you have any recommendations or guidelines for using the automatic upgrade option?

BTW - using
Piwigo 2.4.1 on Debian Squeeze (Debian GNU/Linux 6.0.5)
mysql:  5.1.63-0+squeeze1
apache:  Apache/2.2.16 (Debian)

Thanks for all your assistance.

Offline

 

#2 2012-08-19 12:15:25

flop25
Piwigo Team
2006-07-06
7036

Re: Automatic Upgrade Permission Settings

Hello
There is no risk. Just allows Piwigo to overwrite, like a 755chnod


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2012-08-19 12:47:31

flop25
Piwigo Team
2006-07-06
7036

Re: Automatic Upgrade Permission Settings

Folders 755, files 644. If i remember well


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2012-08-19 16:39:47

gaptser
Member
Boston
2012-07-03
13

Re: Automatic Upgrade Permission Settings

Thank you for your quick response!

Offline

 

#5 2016-05-01 14:25:45

Riftwave_Kevin
Guest

Re: Automatic Upgrade Permission Settings

This isn't true for all users.  I run Piwigo 2.7.1 on shared hosting and I have all of my folders set to 755 and files set to 644.   I get a laundry list of write protect errors if I try the automatic upgrade function.... so the above recommendation will not work for everyone.

In my case, i would probably have to chmod 777 all of my files and folders.

My guess is that there is no 'official' statement in any of the documentation because Piwigo doesn't want to be responsible for instructing anyone to leave their entire install with full read/write/execute permissions (777).

 

#6 2016-05-01 14:40:02

flop25
Piwigo Team
2006-07-06
7036

Re: Automatic Upgrade Permission Settings

That's a server parameter on which Piwigo can't do anything. Your Webserver has to be well parametered On all the server I came I never had to go with 777 even on shared hosting where you can't parameter the server
And the statement about we don't want to be responsible is completely wrong. If something goes wrong what can you do? Complain on our forum? As you can see we never censored. Suit us? Well we are not a company or any entity you could suit,  in US or un France. So we have nothing to loose. We don't recommend to see 777 because that's an incorrect server setup which is responsible for that situation


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

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