Azure / Azure/azure-cli

/usr/bin/az: line 3: /usr/bin/../../opt/az/bin/python3: Permission denied

Open
#22,269 6 comments 1 reaction 2 assignees Claimed by @bebound View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported Installation
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 perform the installation of az-cli in ubuntu 20
using the steps from the official page
https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt

and in the end when I run as user I get the error
/usr/bin/az: line 3: /usr/bin/../../opt/az/bin/python3: Permission denied

**To Reproduce**
execute
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
then I run the command az
/usr/bin/az: line 3: /usr/bin/../../opt/az/bin/python3: Permission denied

**Expected behavior**

**Environment summary**
apt-get curl ubuntu

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.