Quantcast
Channel: Active questions tagged config - Stack Overflow
Viewing all articles
Browse latest Browse all 5054

Sudo chown mess up with AWS Credentials and Config

$
0
0

So, I think I messed up bad. I was having trouble running a python file locally, and during troubleshooting, I read a post that said to run the below:

sudo chown $(my_username) ~/.aws/credentials sudo chown $(my_username) ~/.aws/config

I ran that (which presumably changed owner of those files from root to my_username), and now, when I run a python script that utilizes a pyspark session, I'm not able to read in any s3 parquet files!

Is there a way I can revert the ownership of those files back to root? Or is there a way I can just create new ones that root owns and delete the old ones? Am I even thinking about this correctly?

Please help!


Viewing all articles
Browse latest Browse all 5054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>