By some reason tmp could be writable only for root