Fix issue #2042 - fix permission warning