Resolving permission issues.