简体   繁体   中英

aws-cli 2 permission denied error in linux after installation

Getting permission denied error after installing aws-cli version using the official AWS guide while running aws --version

curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install

Fix to this issue would be to provide the right set of file permissions to aws-cli.

sudo chmod -R 755 /usr/local/aws-cli/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM