Handled the perms of the uploads directory