From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030121 Description of problem: Deleting a user (with a home directory) with "redhat-config-users" and answering 'yes' to the question 'Do you want to delete the user's home directory?' returns the following to the shell where "redhat-config-users" has been started : Traceback (most recent call last): File "/usr/share/redhat-config-users/mainWindow.py", line 632, in on_delete_activate rmrf (homeDir + '/' + file) NameError: global name 'rmrf' is not defined Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. use "useradd -m testuser" to make a user called testuser with /home/testuser. 2. start "redhat-config-users" 3. delete the 'testuser' account 4. answer 'yes' to 'Do you want to delete the user's home directory?' Actual Results: Traceback (most recent call last): File "/usr/share/redhat-config-users/mainWindow.py", line 632, in on_delete_activate rmrf (homeDir + '/' + file) NameError: global name 'rmrf' is not defined Expected Results: The user and the home directory of the user should have been deleted. Additional info: redhat-config-users-1.1.4-1 Red Hat Linux release 8.0.93 (Phoebe)
Should be fixed in redhat-config-users-1.1.4-2. QA, please verify.
[root@jkt3 root]# rpm -q redhat-config-users redhat-config-users-1.1.5-1 [root@jkt3 root]# redhat-config-users Traceback (most recent call last): File "/usr/share/redhat-config-users/mainWindow.py", line 625, in on_delete_activate rmrf(homeDir) NameError: global name 'rmrf' is not defined
Oops. Should be fixed for real with redhat-config-users-1.1.5-2. Sorry about that typo.
Created attachment 89948 [details] redhat-config-users diff
1.1.5-2 is still broken. Diff for fix attached above.
1.1.5-2 behaves correctly for me on my test machine. Can you show me the machine that is having the problem?
redhat-config-users-1.1.5-3 should pull in the fix. Sorry about that.
OK, really not sure what is happening here, but the code is still borked. For some reason the change in mainWindow.py isn't making it into CVS. Here's the snip from the 1.1.5-3 source: for file in files: if os.path.isdir(path + '/' + file): rmrf (path + '/' + file) else:
All right. Please try with 1.1.5-4.
Fix confirmed with redhat-config-users-1.1.5-4.
*** Bug 85338 has been marked as a duplicate of this bug. ***