ok server is set correctly cause everything works as it should, apache and group own it, all my files are 644 and upload folders 775 and other folders 755 all plugins and everything is fine, other upload folders in other plugins work fine as well, i dont have one 777 folder nor i want to, but there is this line in profile pic plugin in index.php
// Check if we can upload to the specified path, if not inform the user.
echo __("You cannot upload to the specified directory, please CHMOD it to 777", "profile_pic");
if i remove this line plugin works correctly with 775 and im all set, but wanted to know is there a fix so i keep this line and still have it working.
and thank you both for helping me.