FTP Error:
----------
Permission denied.
Error code: 3
Error message from server: Permission denied
Request code: 3
---------------------------------------------------------
Versions:
---------
Zenphoto version 1.4.3.2 [10732] (Official build)
Current locale setting: en_US.UTF8
Current gallery theme: zpArdoise
PHP version: 5.2.14
Graphics support: PHP GD library bundled (2.0.34 compatible)
supporting: gif, jpg, jpeg, png, bmp
PHP memory limit: 96M (Note: Your server might allocate less!)
MySql version: 5.1.50
Spam filter: simple
CAPTCHA generator: zenphoto
--------------------------------------------------------
Album directory properties:
---------------------------
0755 user:48
---------------------------------------------------------
My user as ftp:
---------------
user: webuser
=================================================
Steps:
------
-I created a album in Zenphoto admin. -> It creates fine.
-I upload 1 photo in Zenphoto admin. -> It uploads fine.
-I know use ftp to upload a test photo to this directory created for this new album. -> It fails with the error above.
I know this is a directory security problem. Zenphoto creates the directory and uploads pictures under user "48" in my webserver case and ftp uses my user.
The isp can change the security for this directory, but in the long term to ask them to change security for every album (directory) Zenphoto creates is not a solution.
Question:
---------
Maybe this is a common problem. Does any one know of a step around this or any config to correct this? (My isp is a little useless sometimes)
Comments
You would need to be sure you change the permissions of the files you upload via FTP so that they are public. Then Zenphoto (and anyone else) will be able to access them.
The better solution is to get the server configured so that the same user is used for FTP as for WEB applications.