Skip to content

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

@daverod24

Description

@daverod24

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions