0

This question already has an answer here:

In 2nd line here I see 'u001' then 'root', 1st is owner as I understand, but what is 2nd ?

drwx------ 13 u001 u001     4096 jun 21 03:29 .cache
drwxr-xr-x 18 u001 root     4096 jun 21 03:30 .config
drwxr-xr-x  2 u001 u001     4096 jun 21 02:54 Desktop

How could I change it to u001 ?

marked as duplicate by muru command-line Jun 20 '18 at 23:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    Group ownership. Please read the manual. It's all there – Sergiy Kolodyazhnyy Jun 20 '18 at 23:50
  • @Sergiy Kolodyazhnyy how could I change group ? – R S Jun 20 '18 at 23:52
  • 1
    Since that is a directory the command of sudo chown -R u001:u001 .config/ should change that folder and all of it contents to the proper ownership. See askubuntu.com/questions/6723/… Chances are an application that writes into the ~/.config folder was ran as sudo causing it to change the group owner. – Terrance Jun 20 '18 at 23:59
  • Look at the answer to this question: How do I change directory to get into a hidden folder/directory?. It expands on what Terrance presented to you in his link. – L. D. James Jun 21 '18 at 0:30

Browse other questions tagged or ask your own question.