Re: mcedit

Alexander Oberhuber via mc <[email protected]> Fri, 20 Jan 2023 09:47:34 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
mi via mc wrote at 22:09 18.01.2023 :

>It seems a root shell invoked with e.g. sudo -s takes $HOME of the
>admin calling it, and generally takes the admin env (but reducing it):
>
> From the net,
>
>$ sudo -s
>Password:
># whoami
>root
># echo $HOME
>/Users/armin

Then the cause of your problems are clear: Some of mc's config
file(s) can only be properly read when you are root.
That means these config files have the wrong owner or the wrong permissions.
Solution: use "chown" and "chmod" as root to properly own your config files.
(chown -R armin folder_with_config_files and chmod -R 777
folder_with_config_files)


-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc