Fixing Permissions

Tomcat runs as a user called "entermedia" on Linux. You will want to have the hot folders permissions owned by the user "entermedia" in the "entermedia" group. Then set the sticky bit so any new files also have the parent folder permissions.

cd /home/entermedia/categories
chown -R entermedia:entermedia .
chmod g+w -R .
chmod -R u+s,g+s .

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

Make sure FTP users are in the "entermedia" group.