LPS-51677 use minimal capability for temporary files

cc/ @adolfopa