2

I have installed Ubuntu 16.10 + Gnome Flashback. Previously I had Ubuntu 14.04 which I managed to break completely by upgrade halted in the middle.

I've backed up all files from $HOME and /etc and few other, using bootable Ubuntu DVD. After installation, I've copied all files from former $HOME to the new one. It had owner/group root/root. I've done chown -R ondra ~/.* and chgrp -R ondra ~/.*.

However, I still observe quite weird behavior on different levels. Many settings don't get saved. For instance, keyboard switching shortcut, screens layout, Konsole profile. Sometimes, wakeup doesn't work, computer stays blank and I have to shut down by holding power off; not sure if that's related.

I started to suspect that I have the access rights wrong. Maybe somewhere the apps use other user to store the config?

Should the config files have 777 or 555 or 550 or 750 or...?

Are the aforementioned settings stored also in /etc/*?

How can I check where the apps attempt to write but fail because of lack of write access?

  • Just as a side note, .* is a dangerous glob, as it includes the parent directory .. – Zanna Sep 26 '16 at 9:24
  • Hm, /home is now owned by ondra/ondra. I guess that should be owned by root/root? – Ondra Žižka Sep 26 '16 at 9:39
  • yes, it should be owned by root root – Zanna Sep 26 '16 at 9:40
  • 1
    Related: For the next reinstalation: unix.stackexchange.com/questions/43605/… – Ondra Žižka Sep 26 '16 at 10:08
  • What should I use not to match ..? – Ondra Žižka Sep 26 '16 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.