Reply To: Something Happened–Now Getting and Empty Playlist


@bbjonz wrote:

Otay–found the problem. I changed permissions on the music folder (which is not under root) from 777 to just read privileges for others and group. Dumb. On the other hand, this brings up another question–what’s the best way to set up the folders? Should it be under root (probably not) or should I arrange permissions a bit differently?


Read only is fine, but remember the “execute” bit on folders is the “allow descent into folder” bit. If it isn’t a+x, then the server can’t enumerate the items in the folder.

So you want 755 on folders and 644 on files. You can always use find and xargs or someting like that to make it easier:

find . -type d -exec chmod 2775 {} ;
find . -type f -exec chmod 664 {} ;


find . -type d -print | xargs -n1 chmod 2775
find . -type f -print | xargs -n1 chmod 664

Or something of that nature.

— Ron