[PATCH]BUG171488,171574 can't create user's home folder and delete user' home folder

潘卫平 wppan at redflag-linux.com
Thu Sep 25 04:04:54 BST 2008


This patch is for BUG 171488 and 171574.

I find that when you add a new user, kuser doesn't create the user's home folder though you choose "Create home folder".
And also when you delete a user,  kuser doesn't delete the user's home folder though you choose "Delete home folder".

I think that the developer maybe forget calling users->doCreate(&user) in KU_MainView::useradd() function and users->doDelete(&user) in KU_MainView::userdel() function.

In order to call functions above, I set those functions public instead of protected.

The attached patch applies to the directory   kdeadmin/kuser/

Best regards

pwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_for_kuser
Type: application/octet-stream
Size: 1273 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080925/722587bd/attachment.obj>
-------------- next part --------------
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


More information about the kde-core-devel mailing list