Disable open readonly file as root.
Merge with upstream.