Bom dia, então estou seguindo as aulas do terraform para executar o comando chmod 400 "chave.pem", porém está retornando a seguinte mensagem :
chmod: changing permissions of 'chave.pem': Operation not permitted. ai analisando um pouco mais a fundo, vi que esta como usuario root, teria que alterar isso? e se sim como eu poderia fazer isso?:
drwxrwxrwx 1 root root 532 Aug 11 14:02 .
drwxrwxrwx 1 root root 532 Aug 11 11:34 ..
drwxrwxrwx 1 root root 532 Aug 11 13:26 .terraform
-rwxrwxrwx 1 root root 1318 Aug 11 13:26 .terraform.lock.hcl
-r-xr-xr-x 1 root root 1234 Aug 11 13:16 chave.pem
-rwxrwxrwx 1 root root 481 Aug 11 13:59 main.tf
-rwxrwxrwx 1 root root 7834 Aug 11 14:02 terraform.tfstate
-rwxrwxrwx 1 root root 7815 Aug 11 14:02 terraform.tfstate.backup