fix installdir owner permission since directory resource wasn't working