Add workaround of ubuntu permissions bug