As root use:
chown yuki:yuki Makefile
to change owner back.
Вопрос
How do I change the user back to user space instead of root?
I accidentally edit my code as root and then the user name changes from "yuki" to "root". After that, I could not edit my code as "yuki" anymore...
before:
-rw-rw-r--. 1 yuki yuki 5777 Apr 10 14:24 Makefile
after:
-rw-r--r--. 1 root root 5828 Apr 24 19:42 Makefile
Could someone please help?
Thanks.
Решение
As root use:
chown yuki:yuki Makefile
to change owner back.