Announcement

#1 2020-01-24 21:59:20

Rust
Member
2020-01-24
28

Details of folder permissions

Hello Everyone, new and excited user here...

I discovered Piwigo yesterday, and have managed to get it installed today - while several other applications failed - but still have loads of questions about making it work.

I'm running the installation on a home NAS: a Synology DS218j. It has built in packages for self hosting, blogging, media server and galleries. But trying to install a 3rd party package/script is tricky.

Even after installation there are tricky bits. Trying to add a plugin or update an element has generated errors.

At the moment I'm trying to install the Physical Photo Move plugin, and am getting a Permissions error.

An error occurred during the files (path_creation_fail) extraction.
Please check "plugins" folder and sub-folders permissions (CHMOD).

What I'd like at this point is a list of which folders need what permissions. It looks like I will have to manually go through each one.

In the case of this plugin, do I want to grant all permissions (777) or a reduced set?

thanks in advance for your replies!

Piwigo version: 2.10
PHP version: 5.6/7.2
MySQL version: MariaDB 10

Offline

 

#2 2020-01-26 12:27:40

Netcie
Member
2017-11-20
19

Re: Details of folder permissions

At my development webserver it is per directory 770 and per file 770
Usually it is per directory 755 and per file 644  and this is performed using:

sudo find . -type f -exec chmod 664 {} \;
sudo find . -type d -exec chmod 775 {} \;

BUT, please read the documentation of Linux webservers carefully before continuing this path.

Offline

 

#3 2020-01-27 01:24:14

Rust
Member
2020-01-24
28

Re: Details of folder permissions

Thank you Netcie.

I wouldn't do a blanket permissions change without some assurance it's okay. I may try this one folder to see what happens.

I'm having various other problems getting Piwigo up and running, so I'm not risking the installation by messing around with permissions.

Last edited by Rust (2020-01-27 01:24:32)

Offline

 

Board footer

Powered by FluxBB

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