Azure / Azure/azure-cli

Get telemetry cache permission denied when running commands in WSL

Open
#16,624 2 comments 0 reactions 0 assignees View on GitHub
telemetry
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**

I ran `az deployment sub create` and get the following:

```
telemetry.save : Fail to create telemetry cache directory for /home/jon/.azure/telemetry/cache. Reason [Errno 13] Permission denied: '/home/jon/.azure/telemetry/cache'.memealyzer2$ az feedback
```

**To Reproduce**

**Expected behavior**

## Environment Summary
```
Linux-4.19.128-microsoft-standard-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB

azure-cli 2.15.0 *

Extensions:
azure-devops 0.18.0
imds 0.1.0

```

**Additional context**

azsdke2e
azsdke2e2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.