mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-26 08:58:22 -04:00
don't set default "users" group on home dirs
Fixes CAL-345. Changing group of home dir to the default "users" group might be a security risk because every user which belongs to the default "users" group might be able to access private data on home dirs of other users.
This commit is contained in:
parent
3f440ccb5a
commit
b412937699
7 changed files with 5 additions and 20 deletions
|
@ -105,7 +105,7 @@ UsersPage::isReady()
|
|||
|
||||
|
||||
QList< Calamares::job_ptr >
|
||||
UsersPage::createJobs( const QString& defaultUserGroup, const QStringList& defaultGroupsList )
|
||||
UsersPage::createJobs( const QStringList& defaultGroupsList )
|
||||
{
|
||||
QList< Calamares::job_ptr > list;
|
||||
if ( !isReady() )
|
||||
|
@ -117,7 +117,6 @@ UsersPage::createJobs( const QString& defaultUserGroup, const QStringList& defau
|
|||
ui->textBoxUsername->text() :
|
||||
ui->textBoxFullName->text(),
|
||||
ui->checkBoxAutoLogin->isChecked(),
|
||||
defaultUserGroup,
|
||||
defaultGroupsList );
|
||||
list.append( Calamares::job_ptr( j ) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue