fix problem of deleting workspace due to root owned files