You can fix this one instance of the issue by logging in as root and changing the ownership of the directory:
Code:
chown anders.anders com_comprofiler
Unfortunately, I don't believe there is any way to change this behavior in the future. joomla is working as it was designed to work; the content that is uploaded is uploaded as the Apache user. It is meant to be accessed via joomla and not via FTP. Sadly, it also creates a security problem: You have a directory there to which any web user has write permissions.