Author Topic: can upload, BUT..........  (Read 1575 times)

0 Members and 1 Guest are viewing this topic.

Offline 3d-fractal

  • album.pl User
  • *
  • Posts: 1
  • Karma: +0/-0
  • I forgot to change the default text.
can upload, BUT..........
« on: October 07, 2002, 11:34:04 »
Hi Mike,

i am also having some problems and i am hoping that you, or anyone with a helpful hint will respond to these.

1. like mr. niceguy, i couldn't upload (Redhat Linux running on Apache Webserver).
error code: same as niceguy...

2. tried installing the script on a different server (Unix, Apache) using a CGIWRAPPER.
i can upload (as well as write directories) however, the uploaded file can not be viewed because file permission is automatically set to  600 (album directory is set to 777). unless i change the file permission to world readable using my ftp, there is no way i could view my uploaded images. please help....

Aloha

 ---- by the way, script version is 5.7 ---
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: can upload, BUT..........
« Reply #1 on: October 07, 2002, 13:26:47 »
That's odd behaviour... If the web server creates the file when it's uploaded, it should be able to read it when it's displayed... :(

The only thing I can think is that your umask is set to be too restrictive. If you have shell access, you should be able to tinker with your umask. If you have FTP only access, you may have to ask your ISP...

Other than that, I can't imagine why the server can't read a file it's created...
« Last Edit: December 31, 1969, 19:00:00 by 1039064400 »