On 2017-07-10 at 01:36, Felix Miata wrote:
Kaj Persson composed on 2017-07-09 14:54 (UTC+0200):
* Regarding access to my user directory: During my search I did in fact
find some files and directories owned by user root or group root. These
are changed to be owned by my user id and group id, but this did not
help. By the way, On this computer I have always had just one user,
mine, and hence got the user id 1000 and group id 1000. This is the case
now too.
Are you 100% sure you found and corrected 100% of bad ones? Does 1000:1000 own
$HOME? X session settings not saved is virtually always bad file permissions or
errant ownership. Anything that got stolen by root:root via errant sudo or su
will almost certainly have to be fixed as root, exception being via a
superwizard who would unlikely ever have gotten into this trouble in the first
place.
You really don't need to hunt for any that are bad unless you care to know which
are causing the trouble. Simply do as root:
chown -R 1000:1000 /home/kaj/
using whatever your actual username is rather than kaj.
Yes, I think so. Shouldn't I?
All the commands in the following are given as user root.
This is the output from the command
ls -Al /home:
drwxr-xr-x 39 kaj kaj 16384 jul 11 17:23 kaj
drwx------ 2 root root 16384 sep 28 2016 lost+found
drwx------ 4 root root 4096 okt 26 2016 .Trash-0
and from the command
tree -qpadxugL 2 /home:
/home
├── [drwxr-xr-x kaj kaj ] kaj
│ ├── [drwx------ kaj kaj ] .alsaplayer
│ ├── [drwxr-xr-x kaj kaj ] Bilder
│ ├── [drwxr-xr-x kaj kaj ] bin
│ ├── [drwx------ kaj kaj ] .cache
│ ├── [drwxr-xr-x kaj kaj ] .config
│ ├── [drwxrwx--- root kaj ] DATA
│ ├── [drwxr-xr-x kaj kaj ] Dokument
│ ├── [drwxr-xr-x kaj kaj ] dwhelper
│ ├── [drwx------ kaj kaj ] .gconf
│ ├── [drwx------ kaj kaj ] .gnome2
│ ├── [drwx------ kaj kaj ] .gnome2_private
│ ├── [drwx------ kaj kaj ] .gnupg
│ ├── [drwxrwx--- root kaj ] Hämtningar
│ ├── [drwx------ kaj kaj ] .local
│ ├── [drwx------ kaj kaj ] Mail
│ ├── [drwxr-xr-x kaj kaj ] Mallar
│ ├── [drwx------ kaj kaj ] .mozc
│ ├── [drwx------ kaj kaj ] .mozilla
│ ├── [drwxrwx--- root kaj ] Musik
│ ├── [drwxrwx--- root kaj ] Nedladd
│ ├── [drwxr-xr-x kaj kaj ] Publikt
│ ├── [drwxr-xr-x kaj kaj ] Skrivbord
│ ├── [drwx------ kaj kaj ] .thunderbird
│ ├── [drwxr-xr-x kaj kaj ] Video
├── [drwx------ root root ] lost+found
└── [drwx------ root root ] .Trash-0
├── [drwx------ root root ] files
└── [drwx------ root root ] info
and from
tree -qpadxugL 3 /home/kaj/.config:
/home/kaj/.config
├── [drwxr-xr-x kaj kaj ] caja
│ └── [drwxr-xr-x kaj kaj ] scripts
├── [drwx------ kaj kaj ] enchant
├── [drwx------ kaj kaj ] gtk-2.0
├── [drwx------ kaj kaj ] gtk-3.0
├── [drwx------ kaj kaj ] ibus
│ └── [drwx------ kaj kaj ] bus
├── [drwxr-xr-x kaj kaj ] libreoffice
│ └── [drwx------ kaj kaj ] 4
│ ├── [drwxr-xr-x kaj kaj ] cache
│ └── [drwxr-xr-x kaj kaj ] user
├── [drwx------ kaj kaj ] mate
│ ├── [drwx------ kaj kaj ] eom
│ └── [drwx------ kaj kaj ] panel2.d
│ └── [drwx------ kaj kaj ] default
├── [drwxr-xr-x kaj kaj ] mate-session
│ └── [drwxr-xr-x kaj kaj ] saved-session
├── [drwx------ kaj kaj ] mc
├── [drwxr-xr-x kaj kaj ] pluma
└── [drwxr-xr-x kaj kaj ] rncbc.org
A few explanations:
The names are partly in Swedish, but you might never the less understand
them, I think. "Hämtningar" and "Nedladd" is Swedish for "Downloads".
Those few directories owned by user root and group kaj are mounted file
systems (FAT32) containing only user data. I have removed a few lines
regarding installed programmes.
I see nothing which gives me an idea of what is wrong. Are there any
more files or directories to look at? In /etc perhaps?
/Kaj