FS#22420 - userdel -f option doesn't remove user's home directory
Attached to Project:
Arch Linux
Opened by Hugh Secker-Walker (hughsw) - Friday, 14 January 2011, 02:12 GMT
Last edited by Allan McRae (Allan) - Friday, 14 January 2011, 05:58 GMT
Opened by Hugh Secker-Walker (hughsw) - Friday, 14 January 2011, 02:12 GMT
Last edited by Allan McRae (Allan) - Friday, 14 January 2011, 05:58 GMT
|
Details
Description:
On Pogoplug v1, the -f option to userdel does not remove the home directory Additional info: * package version(s) * config and/or log files etc. From /var/log/auth.log: Jan 13 20:09:39 Plugbox useradd[1315]: new group: name=foon, GID=1000 Jan 13 20:09:39 Plugbox useradd[1315]: new user: name=foon, UID=1000, GID=1000, home=/home/foon, shell=/bin/bash Jan 13 21:09:48 Plugbox userdel[1321]: delete user 'foon' Jan 13 21:09:48 Plugbox userdel[1321]: removed group 'foon' owned by 'foon' Steps to reproduce: [root@Plugbox ~]# ls -lA /home/foon ls: cannot access /home/foon: No such file or directory [root@Plugbox ~]# useradd -m foon [root@Plugbox ~]# ls -lA /home/foon total 8 -rw-r--r-- 1 foon foon 16 Jul 24 22:59 .bash_profile -rw-r--r-- 1 foon foon 108 Jul 24 22:59 .bashrc [root@Plugbox ~]# userdel -f foon [root@Plugbox ~]# ls -lA /home/foon total 8 -rw-r--r-- 1 1000 1000 16 Jul 24 22:59 .bash_profile -rw-r--r-- 1 1000 1000 108 Jul 24 22:59 .bashrc |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 14 January 2011, 05:58 GMT
Reason for closing: Not a bug
Additional comments about closing: Request reopen if it affects Arch Linux
Friday, 14 January 2011, 05:58 GMT
Reason for closing: Not a bug
Additional comments about closing: Request reopen if it affects Arch Linux
Your question is making wonder if archlinux may not be the upstream place to report issues.
ArchLinux installation instructions are here: http://www.plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot
dmesg says this:
Linux version 2.6.36 (root@Plugbox) (gcc version 4.4.3 (GCC) ) #1 PREEMPT Wed Dec 8 01:07:33 CST 2010
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board