Change libs permissions on deploy