TransWikia.com

How to access to the '.config' folder on mac?

Ask Different Asked by Marien Farge on February 13, 2021

I need to access to ‘/Users/marienfarge/.config/NuGet’ for a problem with virtual studio but i can’t open the folder. (I have a red ‘-‘ on the folder)

When I tried to open it : ‘Impossible to open the folder ‘.config’ because you don’t have the necessary authorization to display his content.’ (translate form french so it’s maybe not exactly this message for english user)

So I tried to modify the access in the info panel and I give the read & write access for everyone but I still can’t open the folder.

Someone told me to wrote this in the terminal : ls -leO@d /Users/marienfarge/.config/NuGet

And this is the answer : ls: /Users/marienfarge/.config/NuGet: Permission denied

I’m the only user of the mac and I have the last os version.

ls -leO@d /Users/marienfarge/.config provides the result

drwx---rwx 3 root staff - 96 9 nov 15:47 /Users/marienfarge/.config

One Answer

You don't have access rights for this directory. Run

sudo chown marienfarge ~marienfarge/.config
chmod 711 ~marienfarge/.config

Correct answer by nohillside on February 13, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP