What permissions are needed to upload pictures?

DanielWilson

Joined: 2013-12-13
Posts: 2
Posted: Fri, 2013-12-13 22:31

I installed Gallery3 yesterday and set up a couple albums and uploaded a handful of pictures.

Then I had trouble with FTP and changed some folder ownership.

Today, I can't upload pictures. I keep getting "Unable to process this photo".

I have confirmed that PHP runs as www-data. The entire albums folder and subfolders belong both to the user www-data and the group www-data. albums is running 777 permissions. uploads is running 755 permissions.

What am I overlooking?

Thanks!

 
DanielWilson

Joined: 2013-12-13
Posts: 2
Posted: Sun, 2013-12-15 00:08

Well, no more error message.

gallery3/var/tmp needed to belong to www-data.

But ... the pictures still aren't visible. They're in the albums/Album1/Album2 folder ... but not visible on the site.

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Sun, 2013-12-15 00:59

Did you ftp the images up? If so, gallery doesn't quite work that way.

Have you tried adding an image through the gallery 'add an image' option? Does it show after you made the permission corrections?

Have you tried running the admin/fix your gallery task?