Avatara isn't saved

Hi,
I'm having problems uploading avatars. After I've cropped the avatar and I go to the next step it isn't saved. The permission in the /avatar folder is set to 777. Any idea?