Testers needed: New passwd/group handling in Cygwin

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Feb 14 10:50:00 GMT 2014


On Feb 14 11:16, Frank Fesevur wrote:
> 2014-02-13 15:38 GMT+01:00 Corinna Vinschen:
> > This is a pretty intrusive change, in need of some serious testing, so
> > I'd like to ask for volunteers.  The latest 2014-02-13 snapshot from
> > http://cygwin.com/snapshots/ contains the changes, including the latest
> > bugfix.
> 
> I've installed that snapshot on my work laptop, part of AD domain. I
> moved passwd and group out of the way and noticed my .bashrc is not
> executed.
> 
> With 1.7.28:
> 
> Frank@PC205 ~
> $ uname -a
> CYGWIN_NT-6.1-WOW64 PC205 1.7.28(0.271/5/3) 2014-02-09 21:06 i686 Cygwin
> 
> Frank@PC205 ~
> $ ls -l
> total 86
> -rw-------  1 Frank          Domeingebruikers  6759 2014-02-14 09:30
> .bash_history
> -rwxr-xr-x  1 Frank          Domeingebruikers  1150 2010-11-17 18:58
> .bash_profile*
> -rwxr-xr-x  1 Frank          Domeingebruikers  3814 2013-10-18 12:02 .bashrc*
> <snip list of 26 files in total>
> 
> With snapshot without passwd/group:
> 
> Frank@PC205 ~
> $ uname -a
> CYGWIN_NT-6.1-WOW64 PC205 1.7.29s(0.271/5/3) 20140213 14:06:26 i686 Cygwin
> 
> Frank@PC205 ~
> $ ls -l
> totaal 19
> -rwxr-xr-x  1 Frank           Domeingebruikers  98 16 mei  2012 mail-ek.sh
> -rw-r--r--  1 Frank           Domeingebruikers 811 16 mei  2012 mail-ek.txt
> -rwxr-xr-x  1 Frank           Domeingebruikers 332 12 mei  2013 makeepub.sh
> drwxrwxrwt+ 1 +Administrators Domeingebruikers   0 24 okt 15:22 python
> drwxrwxrwt+ 1 +Administrators Domeingebruikers   0 13 feb 17:05 rsync
> drwxr-xr-x+ 1 Frank           Domeingebruikers   0 13 feb 16:44 shutdown-package
> -rwxr-xr-x  1 Frank           Domeingebruikers  38 13 feb 13:57 test.sh
> <this is the complete list of files>
> 
> Most noticeable difference between the two are in the dates of the
> files (The months are in Dutch, and not in "long-iso") and not showing
> the dot-files. Among others, I have set an export LANG=en_US

...hopefully LANG='en_US.utf8"...

> and an
> alias for "ls" in my bashrc for that.

Hmm, off the top of my head I can't explain this.  Is that
via mintty or a Windows console?  What does `id' print?  Is there a
difference in upper/lower case of your name?

[...time passes...]

Oh, hang on.  I'm a tcsh gal, so I set /bin/tcsh in my AD domain entry.
However, the default is *not* /bin/bash, but /bin/sh at the moment.  I'm
a bit fuzzy on bash, but does bash read the .bachrc file only if it's
called bash and not if it's called sh?  What happens if you symlink
your .bashrc to .profile (Not that I suggest this as the ultimate
solution, this is just for testing)?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140214/3f0cc334/attachment.sig>


More information about the Cygwin mailing list