BUG: mx-installer 18.4.04 wrong group-ownership of user-account
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
Is this something related to persistency by any chance? Did any of you use persistency at any point?
- 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
On my box, it is an old install of antiX. I think something else must have changed the permissions xdg perhaps? There was a security upgrade of xdg-utils a few days ago.
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
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
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
That's a good point, it might happen after the install, however, I don't see that happening with fully updated MX16 and MX17 (I did see the xdg-utils update).anticapitalista wrote: ↑Sat May 26, 2018 1:54 pm On my box, it is an old install of antiX. I think something else must have changed the permissions xdg perhaps? There was a security upgrade of xdg-utils a few days ago.
- 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
I just did a fresh install with the 32 bit iso.
all my directories were owned by $USER:$USER except for hte desktop folder. it was owned by $USER:users.
I see this in the installers.
should that be something like demo.users:demo.users
all my directories were owned by $USER:$USER except for hte desktop folder. it was owned by $USER:users.
I see this in the installers.
Code: Select all
// fix the ownership, demo=newuser
cmd = QString("chown -R demo.users %1").arg(dpath);
if (shellcmd->run(cmd.toUtf8()) != 0) {
setCursor(QCursor(Qt::ArrowCursor));
QMessageBox::critical(0, QString::null,
tr("Sorry, failed to set ownership of user directory."));
return false;
}
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
I don't think it's the xdg-utils update... I do regular backups with Timeshift (which preserves permissions etc) - a random snapshot taken on 9th of May still has the group ID of 100 for Pictures etc. That was over two weeks before the aforementioned update. See attached - notice the correct group id of the two folders created after the initial install (bin & Updater)
Oh - Distro version and date of install: MX-17.1_x64 Horizon December 10, 2017
Oh - Distro version and date of install: MX-17.1_x64 Horizon December 10, 2017
You do not have the required permissions to view the files attached to this post.
Chris
MX 18 MX 19 - Manjaro
MX 18 MX 19 - Manjaro
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
No, demo.users is fine. But users id is indeed 100. Now the question is why I see that 1000 on my installed system?
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
Should we change users to demo?
Also, see the explanation about . or : in chown: https://serverfault.com/questions/19429 ... p-in-chowncmd = QString("chown -R demo.users %1").arg(dpath);
- 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
Ah.Adrian wrote: ↑Sat May 26, 2018 3:34 pm Should we change users to demo?Also, see the explanation about . or : in chown: https://serverfault.com/questions/19429 ... p-in-chowncmd = QString("chown -R demo.users %1").arg(dpath);
I think that may be it. This would be for any folders that exist prior to xdg-user-dirs doing its thing.
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: BUG: mx-installer 18.4.04 wrong group-ownership of user-account
OK, let's replace everywhere with:
fehlix, you were right, thanks for the bug report! What is confusing is that some folders are handled by xdg and some are modified by installer.
Code: Select all
cmd = QString("chown -R demo:demo %1").arg(dpath);
- 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
Ok I've been working with gazelle-installer today anyway. I'll send up the change in a bit.
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.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.