[Adduser-devel] Bug#299050: adduser: fails on copying symlinks from /etc/skel

Marc Haber mh+debian-packages at zugschlus.de
Fri Jul 15 17:36:22 UTC 2005


On Fri, Mar 11, 2005 at 01:33:55PM +0100, Hans-Peter Doerr wrote:
> adduser fails to copy symlinks in subdirs of /etc/skel

There have been some changes regarding this behavior in 3.64. Can you
please check whether you can still reproduce this behavior? I cannot:

$ sudo find /etc/skel/ -ls
2523223    4 drwxr-xr-x   3 root     adm          4096 Jul 15 17:28 /etc/skel/
2523224    4 -rw-r--r--   1 root     root         2044 Jan 12  2005 /etc/skel/.bashrc
2523225    4 -rw-r--r--   1 root     root          414 Jan 12  2005 /etc/skel/.bash_profile
2523230    4 -rw-r--r--   1 root     root          174 Feb 20  2000 /etc/skel/.bash_logout
2768956    4 drwx------   2 root     root         4096 Jul 15 17:32 /etc/skel/subdir
2776450    4 -rw-r--r--   1 root     root           15 Jul 15 17:32 /etc/skel/subdir/file
2776451    0 lrwxrwxrwx   1 root     root            9 Jul 15 17:32 /etc/skel/subdir/mots -> /etc/motd
[77/563]mh at lefler[chroot sid]:~/adduser/trunk$ sudo adduser --home /home/test104 --shell /bin/bash --ingroup users --disabled-password --gecos "bla,,," test104
Adding user test104'...
Adding new user test104' (1002) with group users'.
Creating home directory /home/test104'.
Copying files from /etc/skel'
[79/565]mh at lefler[chroot sid]:~/adduser/trunk$ sudo find /home/test104/ -ls
2408803    4 drwxr-xr-x   3 test104  users        4096 Jul 15 17:33 /home/test104/
2408835    4 -rw-r--r--   1 test104  users        2044 Jul 15 17:33 /home/test104/.bashrc
2413717    4 -rw-r--r--   1 test104  users         414 Jul 15 17:33 /home/test104/.bash_profile
2413718    4 -rw-r--r--   1 test104  users         174 Jul 15 17:33 /home/test104/.bash_logout
2413719    4 drwx------   2 test104  users        4096 Jul 15 17:33 /home/test104/subdir
2413720    4 -rw-r--r--   1 test104  users          15 Jul 15 17:33 /home/test104/subdir/file
2413721    0 lrwxrwxrwx   1 test104  users           9 Jul 15 17:33 /home/test104/subdir/mots -> /etc/motd
[80/566]mh at lefler[chroot sid]:~/adduser/trunk$

Greetings
Marc

-- 
Marc.Haber at syscovery.com              syscovery network services GmbH
Dipl.-Inform.                                    Weinheimer Straße 68
Geschäftsführer                                      D-68309 Mannheim
Tel: +49 [0] 621 71768 57                   http://www.syscovery.com/




More information about the Adduser-devel mailing list