Bug 1075 - when creating new encrypted home folder, Mageia sets root permissions
Summary: when creating new encrypted home folder, Mageia sets root permissions
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: High critical
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-30 18:10 CEST by nikos papadopoulos
Modified: 2011-10-10 21:05 CEST (History)
1 user (show)

See Also:
Source RPM: draklive-install
CVE:
Status comment:


Attachments

Description nikos papadopoulos 2011-04-30 18:10:01 CEST
Description of problem:
When I install Mageia, I create a new encrypted home partition for the new user...

 /home/My_Username

But the permissions of that folder are set to "root" and not to "My_Username".
As a result programs do not start, 
or you may not even be able to login in graphical environment 
(if it wasn't for icewm).

Changing the permissions solves the problem,
but you shouldn't expect new users to know that.  

If I remember correctly Mandriva 2011 had the same issue.

Version-Release number of selected component (if applicable):
 

How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Ahmad Samir 2011-04-30 18:22:13 CEST
Could list the steps you used to create the encrypted home partition?

Priority: Normal => High
Source RPM: (none) => drakx-installer-stage2

Comment 2 nikos papadopoulos 2011-05-01 20:31:02 CEST
(In reply to comment #1)
> Could list the steps you used to create the encrypted home partition?

During normal installation, with the Live version,
I created a new ancrypted partition,
and set mount point as /home/My_Username
(I did not mount the partition). 

At first boot of the system I created the user "My_Username".
Comment 3 Ahmad Samir 2011-05-01 23:23:44 CEST
(In reply to comment #2)
> (In reply to comment #1)
> > Could list the steps you used to create the encrypted home partition?
> 
> During normal installation, with the Live version,
> I created a new ancrypted partition,
> and set mount point as /home/My_Username

That's where the problem comes from, the mount point should be just '/home', then when you create the user after the first boot, drakuser will create /home/My_Username and set My_Username as the owner.

> (I did not mount the partition). 
> 
> At first boot of the system I created the user "My_Username".

Source RPM: drakx-installer-stage2 => draklive-install

Comment 4 José Jorge 2011-10-10 21:05:18 CEST
Closed because this bug is old and has received no reply.

Status: NEW => RESOLVED
CC: (none) => lists.jjorge
Resolution: (none) => WORKSFORME


Note You need to log in before you can comment on or make changes to this bug.