Permission Denied on PKG-INFO file of azure_cosmos package
See original GitHub issue
az feedback
auto-generates most of the information requested below, as of CLI version 2.0.62
Describe the bug
Get a permission denied error on /usr/local/Cellar/azure-cli/2.6.0/libexec/lib/python3.8/site-packages/azure_cosmos-3.1.0-py3.8.egg-info/PKG-INFO
I manually resolved it and then when I invoke a command I get a series of warning messages having to do with conditional statements in Python 3.8.x (installed with azure-cli)
To Reproduce
Occurs on macOS 10.15.4
su admin brew install azure-cli az login
Expected behavior
No Permission Denied error No Python 3.8 warnings
Environment summary
azure-cli 2.6.0 macOS 10.15.4 zsh
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Permissions - Azure Cosmos DB REST API - Microsoft Learn
An attempt to add another permission to MarketingCollection for Janet results in an error (409 Conflict). There are only two permission modes, ...
Read more >python - How to install requirements.txt pip error ->Could not ...
I am trying to run a pip install -r requirements.txt error but I get ... not install packages due to an OSError: [Errno...
Read more >Package List — Spack 0.20.0.dev0 documentation
dorian3d-dlib, py-azure-cosmos, r-geneplotter. dos2unix, py-azure-datalake-store, r-generics. dosfstools, py-azure-functions-devops-build, r-genetics.
Read more >nuget packages access is denied on update
I'm trying to update a nuget package hosted locally on a file share. I get an error each time and have to restart...
Read more >azure.cosmos package — Azure SDK for Python 2.0.0 ... - NET
class azure.cosmos. ... retry_status (int) – Maximum number of retry attempts on error status codes. ... Delete the specified permission from the user....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nrobert The
azure-cosmos
package is upgraded in this PR and is targeted to be released on August 25 with2.11.0
.This also occurred for me on azure-cli 2.9.1 on macOS 10.15.6 installed with Homebrew 2.4.8.
The installation was performed using a different user account (with administrator privileges) than the user who is running the
az
command. (Although it’s not technically about administrator rights per se, it’s about the files below being owned by the installation user and unreadable by anyone else.)Other files in
/usr/local/Cellar/azure-cli/2.9.1/libexec/lib/python3.8/site-packages/
have the permissions set to-rw-r--r--
(0644), but the following files are set to-rw-------
(600):One or more of these files are attempted to be read upon running
az
, so therefore no user other than the installation user can executeaz
unless these permissions are manually changed.