Below is a list of the files and directories that are used by album.pl, their purpose, and their preferred permissions. (Sample UNIX permissions are provided in brackets.) The items listed here are the files and directories used by default. Your specific configuration may be different, but this will give you an idea of what is involved. Each of these paths are web paths. That is, they are as if they were from the web root, not from the file system root.
Note that the sample UNIX permissions below may be "more permissive" than they need to be on your system. If you're a security nut like myself, you'll want to chown many of these files over to the web server, and make them readable/writable only to the owner.
Note that not all of these files will be present! Many are created by album.pl as needed. [
| File | Description | Permissions |
| /Photo_Album.css | The cascading style sheet for the album. [Optional, set by style_sheet] | Readable by Web Server (644) |
| /cgi-bin/album.pl | The main album.pl script. | World Executable (755) |
| /cgi-bin/Modules/album_admin.pm | All admin functions. | World Executable (755) |
| /cgi-bin/Modules/album_display.pm | All display functions. | World Executable (755) |
| /cgi-bin/Modules/album_login.pm | All login functions. | World Executable (755) |
| /cgi-bin/Modules/album_ratings.pm | All ratings functions. | World Executable (755) |
| /cgi-bin/Modules/album_recent.pm | All recent upload functions. | World Executable (755) |
| /cgi-bin/Modules/album_upload.pm | All upload functions. | World Executable (755) |
| /cgi-bin/album.cfg.clean | The "base" config file included with new versions. | Readable by Web Server (644) |
| /cgi-bin/album.cfg | Your local config file. This is created during an install, or updated during an upgrade. | Writable by Web Server (or just readable by web server if you do not intend to use the function=config feature) (666) |
| /cgi-bin/album_strings.txt | The string table. Contains all "hard coded" strings, ready for translation. | Readable by Web Server (644) |
| /cgi-bin/album.tml | The album template file. You may want to edit this. | Readable by Web Server (644) |
| /cgi-bin/album_header.tml | The album header sub-template file. You may want to edit this. It's automatically included into album.tml and photo.tml. | Readable by Web Server (644) |
| /cgi-bin/album_footer.tml | The album footer sub-template file. You may want to edit this. It's automatically included into album.tml and photo.tml. | Readable by Web Server (644) |
| /cgi-bin/album_photo.tml | The photo template file. You may want to edit this. | Readable by Web Server (644) |
| /cgi-bin/album_upload.tml | The upload form template file. You may want to edit this. | Readable by Web Server (644) |
| /cgi-bin/album_rating.tml | The rating form template file. You may want to edit this. | Readable by Web Server (644) |
| /cgi-bin/album_login.tml | The login form template file. You may want to edit this. | Readable by Web Server (644) |
| /cgi-bin/album_recent.tml | The recent uploads template file. You may want to edit this. | Readable by Web Server (644) |
| /img/thmb_photo.gif | The icon for a photo. [Optional, set by icons=1] | Readable by Web Server (644) |
| /img/thmb_album.gif | The icon for an album. [Optional, set by icons=1] | Readable by Web Server (644) |
| /img/thmb_movie.gif | The icon for a movie. [Optional, set by icons=1] | Readable by Web Server (644) |
| /album/ | Your actual photo album root directory. Images put in here will show up as photos in your gallery. | Writable by Web Server (777) |
| /album/descriptions.txt | Used to describe the photos and albums in your gallery. For formatting rules see below. [Optional] | Writable by Web Server (666) |
| /album/views.txt | Created automatically by this script. Used to keep track of the number of times each photo in this album has been viewed. [Optional, set by viewfile] | Writable by Web Server (666) |
| /album/subdir | A sub album. Can contain more photos and a descriptions.txt file, as desired. | Writable by Web Server (777) |
| /album/somephoto.jpg | A photo in your album. | Readable by Web Server (644) |
| /album/thmb_somephoto.jpg | A thumbnail for a photo in your album. | Readable by Web Server (644) |
| ../logs/album.log | Log file to log all photo uploads. Should be above the web root, so people can't browse to it. | Writable by Web Server (666) |
| ../auth_db.txt | Authentication database. Should be above the web root, so people can't browse to it. [Optional, set by authentication_type=0] | Readable by Web Server (644) |
I think that's about it. If you are having problems, turn off options like "notify" then you don't have to worry about files such as the photo_address.txt. I'd recommend turning all the "options" off and getting it to work that way, then turn on the ones you want to use.