tags #299050 unreproducible thanks On Fri, Mar 11, 2005 at 01:33:55PM +0100, Hans-Peter Doerr wrote: > adduser fails to copy symlinks in subdirs of /etc/skel > > # ls -l /etc/skel/subdir/ > total 0 > lrwxrwxrwx 1 root root 9 Mar 11 13:17 link-to-file -> /etc/file > > # adduser --home /home/test99 --shell /bin/bash --ingroup users \ > --disabled-password --gecos "bla,,," test99 > Adding user `test99'... > Adding new user `test99' (3277) with group `users'. > Creating home directory `/home/test99'. > Copying files from `/etc/skel' > Use of uninitialized value in symlink at /usr/sbin/adduser line 695, > <FIND> line 190. > symlink: No such file or directory > Cleaning up.
Bad. However, I cannot reproduce this here: [22/[EMAIL PROTECTED] sid]:~$ ls -l /etc/skel/subdir/ total 0 lrwxrwxrwx 1 root root 10 Mar 11 13:13 link-to-file -> /etc/fstab [23/[EMAIL PROTECTED] sid]:~$ sudo adduser --home /home/test99 --shell /bin/bash --ingroup users --disabled-password --gecos "bla,,," test99 Adding user test99'... Adding new user test99' (1003) with group users'. Creating home directory /home/test99'. Copying files from /etc/skel' [24/[EMAIL PROTECTED] sid]:~$ ls -l /home/test99/subdir/ total 8.0K lrwxrwxrwx 1 test99 users 10 Mar 11 13:14 link-to-file -> /etc/fstab [25/[EMAIL PROTECTED] sid]:~$ Can you give more information? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]