Azure / Azure/azure-cli

PermissionError: [Errno 1] Operation not permitted: '/home/fabiobo/.azure/config'

Open
#16,643 2 comments 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-platform-engineering-squad Core feature-request Knack
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`Unknown`

**Errors:**
```
[Errno 1] Operation not permitted: '/home/fabiobo/.azure/config'
Traceback (most recent call last):
lib/python3.6/site-packages/knack/cli.py, ln 233, in invoke
cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 571, in execute
self.help.show_welcome(subparser)
lib/python3.6/site-packages/knack/help.py, ln 721, in show_welcome
self.show_privacy_statement()
lib/python3.6/site-packages/knack/help.py, ln 715, in show_privacy_statement
self.cli_ctx.config.set_value('core', 'first_run', 'yes')
lib/python3.6/site-packages/knack/config.py, ln 159, in set_value
self._config_file_chain[-1].set_value(section, option, value)
lib/python3.6/site-packages/knack/config.py, ln 238, in set_value
self.set(config)
lib/python3.6/site-packages/knack/config.py, ln 227, in set
os.chmod(self.config_path, stat.S_IRUSR | stat.S_IWUSR)
PermissionError: [Errno 1] Operation not permitted: '/home/fabiobo/.azure/config'
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- ``

## 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.18.0

```
## Additional Context

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.