This shows you the differences between two versions of the page.
|
install:catalog [2011/01/24 22:44] ascheel [Permissions] |
install:catalog [2011/01/24 22:44] (current) ascheel [Permissions] |
||
|---|---|---|---|
| Line 42: | Line 42: | ||
| Ampache must have Read access to all the files in the catalog, and Read+Execute to all the directories. If you run into issues where Ampache is saying it is unable to read a file or directory please double check the file permissions. The below two commands will set the correct file permissions for your files and directories. It is very important that you cd to the base of your MP3s first as these commands start at your current directory and recursively change permissions. Please note that these below commands cannot be ran in a Windows environment. | Ampache must have Read access to all the files in the catalog, and Read+Execute to all the directories. If you run into issues where Ampache is saying it is unable to read a file or directory please double check the file permissions. The below two commands will set the correct file permissions for your files and directories. It is very important that you cd to the base of your MP3s first as these commands start at your current directory and recursively change permissions. Please note that these below commands cannot be ran in a Windows environment. | ||
| - | chmod -R u+rwX,go+rX /path/to/your/catalog/* | + | chmod -R u+rwX,go+rX /path/to/your/catalog/* |
| Make sure the [[http://php.oregonstate.edu/manual/en/features.safe-mode.php#ini.open-basedir|PHP's Open Basedir]] isn't set, or if it is it includes the directory of your music. Also make sure that there is not a specific deny listed in your IIS/Apache config prohibiting the script from opening the directory with your music. | Make sure the [[http://php.oregonstate.edu/manual/en/features.safe-mode.php#ini.open-basedir|PHP's Open Basedir]] isn't set, or if it is it includes the directory of your music. Also make sure that there is not a specific deny listed in your IIS/Apache config prohibiting the script from opening the directory with your music. | ||