Permisos para www-data sabra la verga todavia no investigo este pedo bien sudo chgrp www-data mydir sudo chmod g+rwx mydir