Ubuntu gallery config / permissions / argh...
CJ00TA
Joined: 2010-03-31
Posts: 34 |
![]() |
Wasn't sure if I should post here or in the other sub forum... I'll start here. After I upgraded to 3.0.9 and Ubuntu 12.04.3 I started to have (Ubuntu) user issues. Basically, the root of my issue is that album thumbnails aren't being created. I have my user (I'll call it CJ) and then the www-data user on the box. File permissions: Website CJ drwxrwr-x 777 So.. I work it where I'm creating albums from gallery3 (obviously) and those are the permissions that have come out from the system. My question is... how to I force gallery use my CJ username? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Why? Dave |
|
CJ00TA
Joined: 2010-03-31
Posts: 34 |
![]() |
It appears that gallery doesn't have enough permissions to do what it wants to do with the www-data user? When I shell in and change the folders that are being created as www-data to the CJ user, things work fine... Currently, my website folder - /var/www/domain.com is cj / cj (owner, group) |
|
CJ00TA
Joined: 2010-03-31
Posts: 34 |
![]() |
I could move *everything* recursively over to www-data and try... but I don't think that will work. thoughts? |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
thoughts? Nothing from me. I would think that the www-data user should have permissions to the /var/www/domain.com directory. Quote:
gallery doesn't have enough permissions to do what it wants to do with the www-data user? Gallery is just PHP so whatever the php user runs as should work. This is more of a question to the server experts in the community and chroot jails. Dave |
|
CJ00TA
Joined: 2010-03-31
Posts: 34 |
![]() |
So, I moved everything over to www-data... Still seems to be working... except it's still not creating album thumbs. All I get is the default gallery image http://www.2000transam.com/gallery3/var/thumbs/CTS-V/Test5/.album.jpg?m=1383089311 |
|
CJ00TA
Joined: 2010-03-31
Posts: 34 |
![]() |
No errors in the log files about not being able to create or read the files that I uploaded to a new folder... |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
You need apache to run under your username - still -s |
|