You are not logged in.

#1 2012-12-14 11:50:31

estex198
Member
Registered: 2009-02-17
Posts: 39

~/.config permissions [SOLVED]

I'm getting a lot of errors saying permission denied when trying to write to my ~/.config folder. Checked it out and sure enough, its owned by root. Can I chown it or would that be a mistake?

Last edited by estex198 (2012-12-15 08:28:31)

Offline

#2 2012-12-14 12:20:04

Into the Pit
Member
Registered: 2010-09-04
Posts: 37

Re: ~/.config permissions [SOLVED]

should be no problem i guess, it's your_username:users when i check it with ls -l

Offline

#3 2012-12-14 12:32:27

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: ~/.config permissions [SOLVED]

Really? Why does archlinux have this directory belong to root in the first place? What is the purpose of ~/.config and what are some reasons to leave it as it is?

Offline

#4 2012-12-14 12:50:02

asdf-chan
Member
Registered: 2011-10-23
Posts: 31

Re: ~/.config permissions [SOLVED]

~/.config is where programs save their config files. It's weird your ~/.config dir belongs to root, and I'm sure this is not an ArchLinux behavior.

λ cirno ~ → ls -lhd .config
▕ drwx------▏asdf:users│2  day │   4K│.config

Offline

#5 2012-12-14 12:51:29

Into the Pit
Member
Registered: 2010-09-04
Posts: 37

Re: ~/.config permissions [SOLVED]

i think you misunderstood my answer. it should be no problem to chown the directory, thats what i mean. owned by root isn't correct for a directory in your home.

Offline

#6 2012-12-14 12:53:53

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: ~/.config permissions [SOLVED]

Arch is not to blame. The directory is created when an application needs to store its settings there. Probably you ran one with root privileges and/or pointed it to use your $HOME/.config and the owner was modified this way. Simply change it manually and everything should be OK.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2012-12-15 06:24:31

estex198
Member
Registered: 2009-02-17
Posts: 39

Re: ~/.config permissions [SOLVED]

Thanks a lot for your help guys!I appreciate the clarity.

Offline

Board footer

Powered by FluxBB