[Adduser-devel] Bug#330192: ' in /etc/skel filenames causes "Unmatched '"

Marc Haber mh+debian-packages at zugschlus.de
Sat Oct 8 14:22:13 UTC 2005


tags #330192 unreproducible
thanks

On Mon, Sep 26, 2005 at 01:19:07PM -0400, D. Goel wrote:
> I copied my gnome conf to /etc/skel.  (is this stupid of me?)
> 
> /etc/skel/.gnome had filenames with ' in their names.
> 
> adduser (sarge) then failed to work, complaining: Unmatched '.
> 
> (When I removed those files, this problem went away.)
> (The adduser in woody used to work fine with the same files, iirc.).

I cannot reproduce this:

$ ls -al /etc/skel/
total 20K
drwxr-xr-x   2 root root 4.0K Oct  8 14:20 ./
drwxr-xr-x  35 root root 4.0K Oct  8 14:20 ../
-rw-r--r--   1 root root  567 Dec 19  2004 .bash_profile
-rw-r--r--   1 root root 1.8K Dec 19  2004 .bashrc
-rw-r--r--   1 root root    7 Oct  8 14:20 foo'bar
[4/5]mh at lefler[chroot sarge]:~$ sudo adduser test
Adding user test'...
Adding new group test' (1002).
Adding new user test' (1002) with group test'.
Creating home directory /home/test'.
Copying files from /etc/skel'
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for test
Enter the new value, or press ENTER for the default
        Full Name []: bla
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [y/N] y
[5/6]mh at lefler[chroot sarge]:~$ ls -al /home/test/
.bash_profile  .bashrc        foo'bar
[5/6]mh at lefler[chroot sarge]:~$ ls -al /home/test/
total 20K
drwxr-xr-x  2 test test 4.0K Oct  8 14:20 ./
drwxr-xr-x  4 root root 4.0K Oct  8 14:20 ../
-rw-r--r--  1 test test  567 Oct  8 14:20 .bash_profile
-rw-r--r--  1 test test 1.8K Oct  8 14:20 .bashrc
-rw-r--r--  1 test test    7 Oct  8 14:20 foo'bar
[6/7]mh at lefler[chroot sarge]:~$

Please give advice how to reproduce that bug.

Grüße
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




More information about the Adduser-devel mailing list