ichase Posted January 8, 2013 Share Posted January 8, 2013 With the help of Josh and Fran, I have been able to get more out of my server by running gnuscreen. Currently I can toggle between shell, weechat, htop, and atop but Midnight Commander will not generate as normal user. When at the terminal, if I attempt to run mc as a normal user I get the following error: [ichase@homeserver ~]$ mc (mc:15037): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Cannot create /home/ichase/.cache/mc directory (mc:15037): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Cannot create /home/ichase/.local/share/mc directory Failed to run: Cannot create /home/ichase/.config/mc directory This in turn does not populate a mc shell in gnusreen If I run mc as root, it runs fine. I figured this had to be a permissions issue but can't see where the permission issue resides. Thanks as always to my great educators here at BATL Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 8, 2013 Share Posted January 8, 2013 Can you post the output from this? ls -al /home/ichase/.config Also, have you tried creating the mc directory: mkdir /home/ichase/.config/mc Quote Link to comment Share on other sites More sharing options...
ichase Posted January 8, 2013 Author Share Posted January 8, 2013 Josh, I will get you the results when I get home this evening. But I can answer your second question. When I tried creating /home/ichase/.config/mc it told me it already existed. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 8, 2013 Share Posted January 8, 2013 Josh, I will get you the results when I get home this evening. But I can answer your second question. When I tried creating /home/ichase/.config/mc it told me it already existed. Then I would think that it has to be a permission issue. Quote Link to comment Share on other sites More sharing options...
ichase Posted January 8, 2013 Author Share Posted January 8, 2013 (edited) Josh, definitely a permissions issue as seen below from the output you requested [ichase@homeserver ~]$ sudo ls -al /home/ichase/.config [sudo] password for ichase: total 20 drwx------ 4 root root 4096 Oct 12 20:33 . drwx------ 10 ichase ichase 4096 Jan 8 06:17 .. -rw-r--r-- 1 root root 161 Oct 12 20:23 archey3.cfg drwx------ 2 root root 4096 Oct 12 20:33 htop drwx------ 2 root root 4096 Jan 6 04:49 mc I could not even run this command as normal user, told me permission denied? I remember when I installed Arch and created a the user ichase, I gave it all of the same permissions I have given ichase on all my other machines? Now is there a way to "UPDATE" the user permissions for ichase or would I have to delete the user ichase and re-create it? I can't even run archey3 as a normal user: [ichase@homeserver ~]$ archey3 Traceback (most recent call last): File "/usr/bin/archey3", line 824, in <module> main() File "/usr/bin/archey3", line 818, in main config.read(options.config) File "/usr/bin/archey3", line 542, in read self.write_config(config_location) File "/usr/bin/archey3", line 566, in write_config with open(location, 'w') as configfile: Permissionerror: [Errno 13] Permission denied: '/home/ichase/.config/archey3.cfg' Edited January 8, 2013 by ichase Quote Link to comment Share on other sites More sharing options...
ichase Posted January 9, 2013 Author Share Posted January 9, 2013 Apparently the "ichase" permissions got borked up some how. So what I did was, created ichase01, gave all permissions that ichase had originally and deleted user ichase. Everything works like a champ now. Probably not the "correct" or best way to had done this but it worked. Please add {SOLVED} to thread title. Thanks, Ian 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 9, 2013 Share Posted January 9, 2013 Sorry I was at work and could not reply at the time. Quote Link to comment Share on other sites More sharing options...
ichase Posted January 9, 2013 Author Share Posted January 9, 2013 Sorry I was at work and could not reply at the time. Don't appologize because you had to work or anything else that comes up. I always appreciate when you are on and give me good advice. Normally when I post an issue, I continue to try and figure it out on my own. Sometimes I am successful (like this time) and sometimes I am NOT so successful LOL Thanks for the replies as always Josh, you continue to be a great educator not to mention your help over the last year and a half has brought me continous enjoyment using Arch Linux on all of my systems. 2 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 9, 2013 Share Posted January 9, 2013 Thanks a lot Ian, it means a lot to me Quote Link to comment Share on other sites More sharing options...
sunrat Posted January 10, 2013 Share Posted January 10, 2013 You could have tried chown -R ichase:ichase /home/ichase It would also be good to find out how they got borked in the first place. 1 Quote Link to comment Share on other sites More sharing options...
Guest LilBambi Posted January 10, 2013 Share Posted January 10, 2013 You could have tried chown -R ichase:ichase /home/ichase It would also be good to find out how they got borked in the first place. That is what I was gonna post too! Sometimes we forget who we are when we move things into our user accounts here too and have to do that to fix the perms. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.