only fix crypto folder permissions if it exists