check for write permission on install