WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: cant start mc as normal user after using sudo mcedit /path/to/file  (Read 1266 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
cant start mc as normal user after using sudo mcedit /path/to/file
« on: September 21, 2018, 03:25:14 PM »
hi,

how can i fix, when i do
sudo mcedit /path/to/file
editing the file ...
and then as normal user "tc" i cant start mc anymore, after rebooting only, mc can be started as user "tc".

Error:
Code: [Select]
mc
Failed to run:
Cannot create /home/tc/.cache/mc directory
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline atomant

  • Newbie
  • *
  • Posts: 30
Re: cant start mc as normal user after using sudo mcedit /path/to/file
« Reply #1 on: October 04, 2018, 01:27:26 AM »
Check the owner of /home/tc/.cache/mc (and any folders/files inside this), is it 'root'? If yes, change them to 'tc' (with e.g. chown).
|-|4\/3 4 |\|1(3 |)4\|