Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54922 Details for
Bug 87405
KUser-3.4.0 damaging user profiles [kde bug 100443] - fix released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The patch that was attached to http://bugs.kde.org/show_bug.cgi?id=100443
kuser.patch (text/plain), 1.43 KB, created by
Gleb Litvjak
on 2005-03-31 05:10:33 UTC
(
hide
)
Description:
The patch that was attached to http://bugs.kde.org/show_bug.cgi?id=100443
Filename:
MIME Type:
Creator:
Gleb Litvjak
Created:
2005-03-31 05:10:33 UTC
Size:
1.43 KB
patch
obsolete
>Index: propdlg.cpp >=================================================================== >RCS file: /home/kde/kdeadmin/kuser/propdlg.cpp,v >retrieving revision 1.84 >diff -u -3 -p -r1.84 propdlg.cpp >--- ./kuser/propdlg.cpp 29 Nov 2004 00:03:48 -0000 1.84 >+++ ./kuser/propdlg.cpp 29 Mar 2005 15:11:18 -0000 >@@ -706,7 +706,8 @@ void propdlg::mergeUser( KUser *user, KU > bool posix, samba = false; > > newuser->copy( user ); >- if ( cbposix->state() != QButton::NoChange ) { >+ >+ if ( kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX && cbposix->state() != QButton::NoChange ) { > if ( cbposix->isChecked() ) > newuser->setCaps( newuser->getCaps() & ~KUser::Cap_POSIX ); > else >@@ -873,7 +874,7 @@ bool propdlg::checkShell(const QString & > bool propdlg::check() > { > bool one = ( mUsers.getFirst() == mUsers.getLast() ); >- bool posix = !( cbposix->isChecked() ); >+ bool posix = !(kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX) || !( cbposix->isChecked() ); > > if ( one && posix && leid->text().isEmpty() ) { > KMessageBox::sorry( 0, i18n("You need to specify an UID.") ); >@@ -928,7 +929,8 @@ void propdlg::slotOk() > > uid_t newuid = leid->text().toULong(); > >- if ( one && !cbposix->isChecked() && olduid != newuid ) >+ if ( one && (!(kug->getUsers().getCaps() & KUsers::Cap_Disable_POSIX) || !cbposix->isChecked()) >+ && olduid != newuid ) > { > if (kug->getUsers().lookup(newuid)) { > KMessageBox::sorry( 0,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 87405
: 54922