Fix file upload size limit and permissions.