Bug#374981: [Adduser-devel] Bug#374981: adduser: symlink bug true for
all symlinks, not just dead ones
Stephen Gran
sgran at debian.org
Wed Oct 4 22:05:43 UTC 2006
This one time, at band camp, jeff said:
> On Wed, Oct 04, 2006 at 01:12:22PM +0100, Stephen Gran wrote:
> >
> > You are saying any dead symlink, or any symlink at all?
>
> Any symlink at all.
>
> celeste:/etc/skel# ls -al
> total 16
> drwxr-xr-x 2 root root 4096 2006-10-04 04:22 .
> drwxr-xr-x 79 root root 4096 2006-10-03 09:17 ..
> -rw-r--r-- 1 root root 567 2004-12-19 08:53 .bash_profile
> -rw-r--r-- 1 root root 1834 2004-12-19 08:53 .bashrc
> lrwxrwxrwx 1 root root 4 2006-10-04 04:23 var -> /var
Please edit adduser, and add this:
printf "%s -> %s\n", readlink("$fromdir/$file"), "$todir/$file";
just above the symlink call at line 695, and send the output as well as
the output of ls -ld for each item printed. I am currently not seeing
what's wrong, so I'm not sure if it's already fixed or not.
Thanks,
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20061004/731c2304/attachment.pgp
More information about the Adduser-devel
mailing list