BUG: mx-installer 18.4.04 wrong group-ownership of user-account

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#1 Post by fehlix »

BUG: mx-installer 18.4.04 wrong group-ownership of user-account

Current mx-installer (deb-package 18.4.04mx17)
creates users home-directory and subfolders and files of a freshly created user with wrong group-ownership
of a group “users” whith groupid 100 instead of users primary groupid 1000.

Additionally created user within the installed system get correct group-ownership of new account as primary groupid of the user correctly.
fehlix
:bagoverhead:
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#2 Post by Adrian »

Can't replicate. What ISO do you use? MX-17.1, a monthly snapshot?

1. Installer doesn't even assign the groupid, it doesn't even create the user, it uses the current "demo" account from Live environment and renames it to whatever user name you choose at install time.
2. check /etc/passwd and see what's the group ownership for "demo"

I looked both on Live environment and installed MX and the groupid is 1000 for me...

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#3 Post by fehlix »

Adrian wrote: Sat May 26, 2018 11:11 am Can't replicate. What ISO do you use? MX-17.1, a monthly snapshot?
Good point, it was either mx171 or mx171may or a snapshot.
Need to remember how I've done it, as I reinstalled in Vbox so often in last days for testing:
No system change always fresh dist-upgrade before installing.
I've actualy discoverd during it mx-snapshot testing.

Here you see folder list of a fresh install for user fehlix in virtualbox,
which clearly shows wrong gid.
So you might understand, that I thought it would be easy to reproduce:

Code: Select all

fehlix@mx17test:~
$ ls -nl
insgesamt 5
drwxr-xr-x 2 1000  100    3 Mai 25 21:27 Bilder
drwxr-xr-x 2 1000  100  176 Mai 26 01:20 Desktop
drwxr-xr-x 2 1000  100    3 Mai 26 01:19 Dokumente
drwxr-xr-x 2 1000  100    3 Mai 25 21:27 Downloads
drwxr-xr-x 2 1000  100    3 Mai 26 01:19 Musik
drwxr-xr-x 2 1000  100   69 Mai 26 01:20 Öffentlich
drwxr-xr-x 2 1000  100    3 Mai 25 21:27 Videos
drwxr-xr-x 2 1000  100    3 Mai 25 21:27 Vorlagen
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#4 Post by Adrian »

OK, so it's the folders that have the wrong gid, what the gid of the main user?

User avatar
fehlix
Developer
Posts: 10375
Joined: Wed Apr 11, 2018 5:09 pm

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#5 Post by fehlix »

Adrian wrote: Sat May 26, 2018 12:39 pm OK, so it's the folders that have the wrong gid, what the gid of the main user?
Sure, the id is correct, and also newly created folders and files,
only the existing ones after fresh login and all hidden folder/files did hade the wron gid.

Code: Select all

fehlix@mx17test:~
$ id
uid=1000(fehlix) gid=1000(fehlix) Gruppen=1000(fehlix),7(lp),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),108(netdev),114(vboxsf),116(lpadmin),119(scanner)
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#6 Post by Adrian »

Not sure what's going on, just did an installation using the latest version of the installer (same as yours)

Code: Select all

adrian@mx:~
$ ls -nl
total 32
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Desktop
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Documents
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Downloads
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Music
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Pictures
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Public
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Templates
drwxr-xr-x 2 1000 1000 4096 May 26 12:47 Videos

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#7 Post by Adrian »

What's the base that you start from, did you use a snapshot, do you use persistency?
How did you install, what file system (I see different size for the folders than mine), I simply tried an "auto-install" in VBox.

Also, please confirm that the environment that you are installing from has the right gui for /home/demo subfolders so we know where the problem is the installer or something else.

User avatar
anticapitalista
Developer
Posts: 4166
Joined: Sat Jul 15, 2006 10:40 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#8 Post by anticapitalista »

I don't think it is due to the installer, but I can see on my laptop some weird permissions.

Code: Select all

ls -nl

drwxr-xr-x   2 1000  100   4096 May  1 19:55 Desktop
drwxr-xr-x  19 1000  100   4096 May 11 20:11 Documents
drwxr-xr-x   9 1000  100  12288 Apr 30 17:49 Downloads
drwxr-xr-x   3 1000 1000   4096 May  4 21:18 kernel-configs
drwxr-xr-x   7 1000 1000   4096 May 18 14:06 kernels
drwxr-xr-x   2 1000 1000   4096 May 21 16:52 linux-iso-files
drwx------   2 1000 1000   4096 Nov 16  2017 mail
drwxr-xr-x  15 1000  100   4096 Apr 13  2017 Music
drwxr-xr-x   4 1000  100   4096 Apr  4 21:12 Pictures
drwxr-xr-x   2 1000 1000   4096 Nov 25 20:13 Public
drwxr-xr-x   2 1000  100   4096 Oct  6  2017 Videos
drwxr-xr-x   3 1000 1000   4096 Apr 28 20:10 VirtualBox VMs
drwxr-xr-x   2 1000 1000   4096 Apr 29 16:43 Wallpaper
The ones created by xdg (Documents, Music, Pictures etc) are all 100
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX with runit - lean and mean.
https://antixlinux.com

User avatar
Adrian
Developer
Posts: 8267
Joined: Wed Jul 12, 2006 1:42 am

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#9 Post by Adrian »

When are all those folders created by xdg, at Live USB boot time? I see them in Live environment with gid = 1000 (maybe it has something to do with booting into different language, but I see you use English).

User avatar
dolphin_oracle
Developer
Posts: 20012
Joined: Sun Dec 16, 2007 1:17 pm

Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account

#10 Post by dolphin_oracle »

Adrian wrote: Sat May 26, 2018 1:45 pm When are all those folders created by xdg, at Live USB boot time? I see them in Live environment with gid = 1000 (maybe it has something to do with booting into different language, but I see you use English).

they come up in the live for me, in espanol, with 1000:1000
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

Post Reply

Return to “Bugs and Non-Package Requests Forum”