Re: [ITA] cppunit 1.10.2 - A C++ unit testing framework

2007-08-17 Thread Reini Urban

-rwxr-xr-x Administrator/None 617984 2007-08-13 22:09 
usr/bin/DllPlugInTester.exe
-rwxr-xr-x Administrator/None 551936 2007-08-13 22:09 usr/bin/simple.exe


Shouldn't they better go into /usr/lib/cppunit/bin/ rather than /usr/bin?

--
Reini Urban
http://phpwiki.org/  http://murbreak.at/
http://helsinki.at/  http://spacemovie.mur.at/


Re: Error when attempting to start inetd

2007-08-17 Thread Corinna Vinschen
On Aug 16 22:50, Eric Blake wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 [followup discussion should move to cygwin-apps]
 
 According to René Berber on 8/16/2007 10:40 PM:
 From setup.ini, line 11746, the package is uw-imap-imapd, the requires 
 should be:
  
  requires: uw-imap openssl097
  
  Also uw-imap-util, same change.
 
 Thanks; setup.hint changes are made.  Meanwhile, the uw-imap maintainer
 should consider rebuilding against the newer library.

There is no maintainer.  uw-imap is one of the orphaned packages.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [GTG] Re: [ITA] xgraph - Plotting program, reads stdin, allows interactive zooming

2007-08-17 Thread Corinna Vinschen
On Aug 16 22:46, Dr. Volker Zell wrote:
  Jari Aalto writes:
 
  Adopted from Harold.
 
 Builds fine from source and packaging looks good.
 
  Jari
 
 GTG
   Volker

Thanks, uploaded.

How many gold stars is Jari supposed to get in the meantime?  I lost
track.  Igor, can you throw five or so in Jari's direction?


Thanks again,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [ITA] cppunit 1.10.2 - A C++ unit testing framework

2007-08-17 Thread Corinna Vinschen
On Aug 17 07:59, Dr. Volker Zell wrote:
  Ross Smith, writes:
 
  Dr. Volker Zell wrote On 8/16/2007 12:10 AM -0800:
  The following two files are in the old cppunit package:
  
  /usr/bin/cygcppunit-1-9-14.dll
  /usr/lib/libcppunit.dll.a
 
  Volker,
 
  I see that, but cppunit-1.10.2-1.tar.bz2 contains:
 
  /usr/bin/cygcppunit-1-10-2.dll
  /usr/lib/libcppunit.dll.a
 
  so, I'm not sure what your point is.


I can't help it, but to me this quoting style using the deep indentation
is very confusing and hard to read.  What mail client is creating it?


 tar -tvjf on both cppunit-1.10.2-1.tar.bz2 I downloaded from your site
 and the one I get from building from source gives:
 
 
 drwxr-xr-x Administrator/None 0 2007-08-13 22:09 usr/
 drwxr-xr-x Administrator/None 0 2007-08-13 22:09 usr/bin/
 -rwxr-xr-x Administrator/None 1642 2007-08-13 22:09 usr/bin/cppunit-config
 -rwxr-xr-x Administrator/None 617984 2007-08-13 22:09 
 usr/bin/DllPlugInTester.exe
 -rwxr-xr-x Administrator/None 551936 2007-08-13 22:09 usr/bin/simple.exe

Just to be sure, I downloaded
http://smithii.com/files/cygwin/cppunit/cppunit-1.10.2-1.tar.bz2
as well and, as Volker wrote, they don't contain the above files.
Ross, do you have local versions of your archives which don't match
the files you uploaded to your download area?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [GTG] Re: [ITA] xgraph - Plotting program, reads stdin, allows interactive zooming

2007-08-17 Thread Jari Aalto
* Fri 2007-08-17 Corinna Vinschen corinna-cygwin-rDBXBDvO6BXQT0dZR+AlfA AT 
public.gmane.org
* Message-Id: 20070817070041.GB22993 AT calimero.vinschen.de
 On Aug 16 22:46, Dr. Volker Zell wrote:

  Jari Aalto writes:
 
  Adopted from Harold.
 
 Builds fine from source and packaging looks good.
 
  Jari
 
 GTG
   Volker

 Thanks, uploaded.

 How many gold stars is Jari supposed to get in the meantime?  I lost
 track.  Igor, can you throw five or so in Jari's direction?

Heh, don't count yet, I'm just warming up. I seem to have a window to
do Cygwin work now before the real work pushes on soon.

Jari



Re: [ITA] cppunit 1.10.2 - A C++ unit testing framework

2007-08-17 Thread Ross Smith II
Dr. Volker Zell wrote On 8/16/2007 10:59 PM -0800:
 Ross Smith, writes:
...
  /usr/bin/cygcppunit-1-10-2.dll
  /usr/lib/libcppunit.dll.a
...
 tar -tvjf on both cppunit-1.10.2-1.tar.bz2 I downloaded from your site
 and the one I get from building from source gives:

Volker,

My sincere apologies. I uploaded the correct files, that now include the
dll related files. Sorry for the confusion, and thanks for your persistence.

-Ross




Re: [ITA] cppunit 1.10.2 - A C++ unit testing framework

2007-08-17 Thread Dr. Volker Zell
 Ross Smith, writes:

 Dr. Volker Zell wrote On 8/16/2007 10:59 PM -0800:
 Ross Smith, writes:
 ...
  /usr/bin/cygcppunit-1-10-2.dll
  /usr/lib/libcppunit.dll.a
 ...
 tar -tvjf on both cppunit-1.10.2-1.tar.bz2 I downloaded from your site
 and the one I get from building from source gives:

 Volker,

 My sincere apologies. I uploaded the correct files, that now include the
 dll related files. Sorry for the confusion, and thanks for your 
persistence.

Did you see http://cygwin.com/ml/cygwin-apps/2007-08/msg00119.html

 -Ross

Ciao
  Volker
  


Re: [GTG] Re: [ITA] links 1.99.20 - Text mode WWW browser (1.00pre20)

2007-08-17 Thread Jari Aalto
* Thu 2007-08-16 Corinna Vinschen corinna-cygwin-rDBXBDvO6BXQT0dZR+AlfA AT 
public.gmane.org
 That's an error. The last Cygwin version links-0.99pre14. Would it
 suffice to release 0.99.20 in the mean time?

 I guess that's ok.

Here is new version. I managed to updated the build tool at the same
time.

Jari

  wget\
http://cygwin.cante.net/links/links-1.00pre20-1.tar.bz2 \
http://cygwin.cante.net/links/links-1.00pre20-1-src.tar.bz2 \
http://cygwin.cante.net/links/setup.hint

  gpg --keyserver wwwkeys.pgp.net --recv-keys 955A92D8

  mkdir links ; cd links
  rm -f get.sh get.sh.sig
  wgethttp://cygwin.cante.net/links/get.sh \
  http://cygwin.cante.net/links/get.sh.sig
  gpg --verify get.sh.sig get.sh 
  sh get.sh

  cd /usr/src/cygwin-packages/links
  less /usr/src/cygwin-packages/links/get.sh
  tar -jtvf /usr/src/cygwin-packages/links/links-1.00pre20-1.tar.bz2




[Almost GTG] Re: [GTG] Re: [ITA] links 1.99.20 - Text mode WWW browser (1.00pre20)

2007-08-17 Thread Dr. Volker Zell
 Jari Aalto writes:

 * Thu 2007-08-16 Corinna Vinschen corinna-cygwin-rDBXBDvO6BXQT0dZR+AlfA 
AT public.gmane.org
 That's an error. The last Cygwin version links-0.99pre14. Would it
 suffice to release 0.99.20 in the mean time?
 
 I guess that's ok.

 Here is new version. I managed to updated the build tool at the same
 time.

If you remove the files marked with - from your src-archive (here a listing) 

links-1.00pre20-1.sh.sig
links-1.00pre20.tar.gz
links-1.00pre20-1.sh
links-1.00pre20-1-cygwin.patch.sig
links-1.00pre20-1-cygwin.patch
links-1.00pre20-1.tar.bz2.sig
links-1.00pre20-1.tar.bz2
-links-1.99.20-1.sh.sig
-links-1.99.20-1.sh
-links-1.99.20.tar.gz
-links-1.99.20-1-cygwin.patch.sig
-links-1.99.20-1-cygwin.patch
-links-1.99.20-1.tar.bz2.sig
-links-1.99.20-1.tar.bz2

your package is GTG. Builds fine from source and resulting packaging
looks good.

 Jari

Ciao
  Volker
  


Re: [ITA] cppunit 1.10.2 - A C++ unit testing framework

2007-08-17 Thread Ross Smith II
Dr. Volker Zell wrote On 8/17/2007 5:20 AM -0800:
 
 Did you see http://cygwin.com/ml/cygwin-apps/2007-08/msg00119.html

Volker,

Yes, I did. I had assumed that 1.12.0 was unstable, as the project's
home page

http://cppunit.sourceforge.net/cppunit-wiki

made no mention of it. Researching further, it does appear that 1.12.0
is the current stable version. I will package and submit this version
instead.

Thanks for all the assistance and encouragement,

Ross



Please upload: mined-2000.14-2

2007-08-17 Thread Thomas Wolff
Unfortunately I made an error when packaging the binary package 
for mined 2000.14, please upload the fixed update package for mined:


mkdir mined
cd mined
wget http://towo.net/mined/cygwin/mined-2000.14-2.tar.bz2
#unchanged: wget http://towo.net/mined/cygwin/mined-2000.14-1-src.tar.bz2
#unchanged: wget http://towo.net/mined/cygwin/setup.hint

Thank you,
Thomas Wolff


Re: Please upload: mined-2000.14-2

2007-08-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Thomas Wolff on 8/17/2007 6:13 PM:
 Unfortunately I made an error when packaging the binary package 
 for mined 2000.14, please upload the fixed update package for mined:
 
 
 mkdir mined
 cd mined
 wget http://towo.net/mined/cygwin/mined-2000.14-2.tar.bz2
 #unchanged: wget http://towo.net/mined/cygwin/mined-2000.14-1-src.tar.bz2

Sorry, but if you bump the version for the binary, you also have to bump
the version for the source (even if it is just renaming the package), so
that setup.exe doesn't get lost.  How do you want that problem resolved?

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxlzj84KuGfSFAYARAnxAAJ9pWUtpKY+3YMiIo22hDp5aShZbkACfUjnT
W4IUWWo8QfkgcU7wPUfCkfI=
=tgjP
-END PGP SIGNATURE-


Re: Beat Generation Author?

2007-08-17 Thread Renee Camus

Dear Mr. Ronan

My name is Renee Camus. I am the Assistant Editor in music at Scarecrow
Press publishing. I am trying to contact the Stephen Ronan who is the
author of books on the Beat Generation, such as /Blue Postcards to Jack
Kerouac/. Are you he? Scarecrow Press had been in contact with him some
years ago, but I do not have current contact information. Please contact
me soon either way, by email or by phone, so that I may update our records.

Thank you very much. Sincerely,

Renee

--
Renee Camus
Assistant Editor
Scarecrow Press
4501 Forbes Boulevard, Suite 200
Lanham, MD  20706

Phone: 301-459-3366, x.5631
Fax: 301- 429-5747

http://www.scarecrowpress.com



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



XWin starts but hangs as soon as I start an X-application

2007-08-17 Thread Olumide

Hi -

Yesterday, I started my X server as usual and followed by an 
X-application (gnuplot), which refused to start up. At the same time the 
XWin process stopped working, in fact it had stopped page faulting. On 
terminating the XWin process I got the following message


XIO:  fatal IO error 104 (Connection reset by peer) on X server 
127.0.0.1:0.0 (IP address changed)

  after 0 requests (0 known processed) with 0 events remaining.

Here is the content of my XWin log file (/tmp/Xwin.log)

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per 
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 
depth: 32
winInitVisualsShadowGDI - Masks 00ff ff00 00ff BPRGB 8 d 24 
bpp 32

null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winInitMultiWindowWM - Calling pthread_mutex_lock ()
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0809 (0809)
(--) Using preset keyboard for English (United Kingdom) (809), type 4
(EE) Couldn't load XKB keymap, falling back to pre-XKB keymap
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!



All of this is really strange. The only change/installation I made to my 
system yesterday was to install a logitech webcam.


- Olumide




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



src/winsup/cygwin ChangeLog autoload.cc spawn.cc

2007-08-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-08-17 19:58:57

Modified files:
winsup/cygwin  : ChangeLog autoload.cc spawn.cc 

Log message:
* autoload.cc (CloseDesktop): Define.
(CreateDesktopA): Define.
(SetThreadDesktop): Define.
* spawn.cc (spawn_guts): When starting a process under another user
account, don't open up permissions on current window station and
desktop.  Instead, if not in interactive session, create a new per-user
window station plus default desktop and use that for the child process.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3912r2=1.3913
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srcr1=1.141r2=1.142
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=srcr1=1.246r2=1.247



src/winsup/cygwin ChangeLog spawn.cc

2007-08-17 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2007-08-17 20:22:24

Modified files:
winsup/cygwin  : ChangeLog spawn.cc 

Log message:
* spawn.cc (spawn_guts): Fix typo in comment.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3913r2=1.3914
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/spawn.cc.diff?cvsroot=srcr1=1.247r2=1.248



Re: permissions/owners seen on cygwin-client vs. server

2007-08-17 Thread Corinna Vinschen
On Aug 16 20:06, Larry Hall (Cygwin) wrote:
 Linda Walsh wrote:
 I get two different views of my server's /home directory
 depending on if I'm on the server or under cygwin on a client.
 
 On the server, I see things like:
 drwsrwsrwt   2 lin  users   14 Nov 24  2006 NT_Perflogs/
 drwxr-s---   2 root private 24 Jul 26  2006 archive/
 drwsr-s---   4 backup   backup  94 May 14 13:53 backup/
 [...]
 
 but locally, I see:
 drwxr-x--- 1 lin Administrators 0 Nov 24  2006 NT_Perflogs/
 drwxr-x--- 1 lin Administrators 0 Jul 26  2006 archive/
 drwxr-x--- 1 lin Administrators 0 May 14 13:53 backup/
 [...]
 
 So why such a difference?
 
 Quite a bit, I'm afraid.  Linda, you've been around long enough that
 we shouldn't have to ask for basic information like cygcheck output
 and other bootstrap information.  What, exactly, is this server?
 How are you connecting to it from the client?  What protocols are
 involved?  How have you configured them?  All this information
 at least is necessary for someone here to start providing any useful
 feedback.  Without it, all we can do is guess.  Don't make us guess.
 It's not very accurate. ;-)

Larry is right, of course, but I make a wild guess, nevertheless:

  CYGWIN=nosmbntsec

See the user guide.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: rsync problems from Vista installed cygwin, ok on XP

2007-08-17 Thread Corinna Vinschen
On Aug 13 05:28, DaveB wrote:
 
 My cygwin on Vista seems to work but when I try to do rsync to fixup files on
 my unix ftp server, it chokes with lots of errors and does a bizarre reset
 of the permission bits for the destination folder.  Here's what happens: 
 [this is the same rsync command that works fine on XP]: 
 
 === 
 $ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/mypath/wherever/ 
 [EMAIL PROTECTED]'s password: xx 
 building file list ... 
 8 files to consider 
 ./ 
 rsync: failed to modify permissions on /mypath/wherever/.: Permission
 denied (13) 
 rsync: recv_generator: failed to stat /mypath/wherever/firstfile.xxx:
 Permission denied (13) 
 rsync: recv_generator: failed to stat /mypath/wherever/secondfile.xxx:
 Permission denied (13) 
 ...etc... 
 rsync: recv_generator: mkdir /mypath/wherever/. failed: Permission denied
 (13) 
 *** Skipping everything below this failed directory *** 

http://cygwin.com/acronyms/#WJFFM

For testing I copied over the whole /usr directory from my Vista box to
a Linux machine.  I'm rather puzzled how setting permissions on the
*remote* machine should be affected by the OS of the source machine.

I guess we need much more information.  Are the affected directories
Cygwin-created directories or natively created dirs?  Do they contain
spaces or native characters?  What are the local permissions on them
(getfacl/cacls)?  Does your Vista account have admin privileges?  UAC
switched on?  If so, is rsync running normally with reduced privileges
or as administrator?  Is your remote Unix account root or non-root?


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: File creation time oddity (new findings)

2007-08-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Redirecting to the list - http://cygwin.com/acronyms/#PPIOSPE

According to Ronald Fischer on 8/17/2007 1:46 AM:
 ~/thome/tmp $ date
 Thu Aug 16 16:49:35 2007
 ~/thome/tmp $ ls -l dummy3
 -rw-r--r-- 1 rfischer mkgroup-l-d 2 Aug 16 16:42 dummy3

 As you can see, ls -l shows 16:42 for the creation time,
 No idea why your ctime and mtime disagree - are you sure your 
 system clock and 
 BIOS clock match?  
 
 No - how can I find out? But even then - should not be the same
 clock used for ctime and mtime?
 
 Have you recently used an NTP server to 
 align your clock 
 with the rest of the world?  
 
 Yes, I'm setting my system's time via a NTP server, but this
 too can't explain why ctime and mtime are different, can it?

Like I said, I have no idea how ctime would be different from mtime on
file creation.  But as the rest of your mail shows, they aren't different;
instead, it was the difference between ctime/mtime and now that you were
complaining about.

 
 However, I want one thing to be 
 clear - ls does 
 not list creation time; it lists change time (ctime not stand 
 for creation time 
 in POSIX, instead, the BSD notion birthtime, aka Btime, maps 
 to the Windows 
 creation time - for full birthtime support in cygwin, you 
 need to use a 
 snapshot, as cygwin 1.5.24 does not support querying birthtime).
 
 Right ... just when you create a new file, change time *is*
 creation time, isn't it?

Yes, creating a new file is supposed to set mtime, ctime, atime, and Btime
all to the same value.

Note that stat(1) does not (yet) list Btime (in part, because doing so
would require you to use a snapshot).

 Also, stat(1) may be nicer than ls(1) for figuring these 
 timestamp issues out.
 
 Good point. I was not aware of stat(1) before. So, here we go:
 
 ~/tmp $ date
 Fri Aug 17 09:41:30 2007
 ~/tmp $ echo x dummy5
 ~/tmp $ stat dummy5
   File: `dummy5'
   Size: 2   Blocks: 1024   IO Block: 1024   regular file
 Device: 493329f2h/1228089842d   Inode: 286061516451481604  Links: 1
 Access: (0644/-rw-r--r--)  Uid: (115670/rfischer)   Gid:
 (10545/mkgroup-l-d)
 Access: 2007-08-17 09:33:48.0 +0200
 Modify: 2007-08-17 09:33:48.0 +0200
 Change: 2007-08-17 09:33:48.0 +0200
 ~/tmp $ date
 Fri Aug 17 09:41:54 2007
 ~/tmp $ touch dummy5
 ~/tmp $ stat dummy5
   File: `dummy5'
   Size: 2   Blocks: 1024   IO Block: 1024   regular file
 Device: 493329f2h/1228089842d   Inode: 286061516451481604  Links: 1
 Access: (0644/-rw-r--r--)  Uid: (115670/rfischer)   Gid:
 (10545/mkgroup-l-d)
 Access: 2007-08-17 09:41:59.0 +0200
 Modify: 2007-08-17 09:41:59.0 +0200
 Change: 2007-08-17 09:41:59.0 +0200

Doesn't happen for me on a local disk:

$ date
Fri Aug 17 06:47:04 MDT 2007
$ touch foo
$ stat foo
  File: `foo'
  Size: 0   Blocks: 0  IO Block: 1024   regular empty file
Device: 10897b43h/277445443dInode: 8444249301410534  Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1007/  eblake)   Gid: (  513/None)
Access: 2007-08-17 06:47:05.708125000 -0600
Modify: 2007-08-17 06:47:05.708125000 -0600
Change: 2007-08-17 06:47:05.703125000 -0600
$ date
Fri Aug 17 06:47:07 MDT 2007

 
 So the effect seems to be the same as before: As if a different clock
 were used when calculating the time stamps for creating a file, or
 for modifying it.

Hmm, could it be that your files reside on a remote mount, and that NFS is
reflecting the time of the remote machine (ie. the remote machine leads or
lags your machine)?

 
 BUT I have found something new: The effect occurs ONLY if the file
 resides on the network drive. I tried the same for creating a local
 file on my hard disk, and there timing is correct.

Yep - that clinches it - clock skew between the machines.

 
 Could it be that file creation times are put into the directory
 in a different way if it is a mapped drive from the network?

It is an artifact of how Windows interacts with remote drives in the
presence of clock skew between the machines.

- --
Don't work too hard, make some time for fun as well!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxZos84KuGfSFAYARAobkAKCKh2BHSpJBINyssryh1a7YrlfKvwCgxf0r
JZaXBx8XKzZtR+2Y2Vx1zRo=
=Y7U3
-END PGP SIGNATURE-

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Installer tasks

2007-08-17 Thread phil long
George george at alink.co.za writes:

 
 Hi All,
 
 Assuming I wish to copy the c:\cygwin\ directory from one computer to 
 another, are there any further utilities/updates which I need to do to 
 ensure it works correctly?
 
 I have create a script which redoes the mount points (mount -m).
 
 Is there anything further which I need to do?
 
 Advice/pointers to documentation appreciated.
 
 George
 
 


Assuming that the mounts are the same, that should be enough to run
most applications (fileutils, etc.).  I use a `lite' Cygwin
installation on our customer's machines, mostly to make my job easier,
but occasionally to script something for a customer.  The customer's
machines are usually very close to identical from one installation
to another, which helps a lot.  The only issue I've had is that our
latest machines are based on WinXP Embedded, which is on a read-only
flash card, so that registry modifications are not persistent across
reboots.  I haven't put my 'lite' Cygwin installation on any such
machine yet, nor have I played around with one yet, but I suppose
I'll have to run the mount script from any scripts I may write on
such machines (shouldn't present a problem).
 -- 
bozo string deleted



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Installer tasks

2007-08-17 Thread Dave Korn
On 17 August 2007 13:57, phil long wrote:

 George george at alink.co.za writes:
 
 
 Hi All,
 
 Assuming I wish to copy the c:\cygwin\ directory from one computer to
 another, are there any further utilities/updates which I need to do to
 ensure it works correctly? 
 
 I have create a script which redoes the mount points (mount -m).
 
 Is there anything further which I need to do?
 
 Advice/pointers to documentation appreciated.
 
 George
 
 
 
 
 Assuming that the mounts are the same, that should be enough to run
 most applications (fileutils, etc.).  

  And if they aren't, run mount -m  cmds.txt on one machine, then copy it
to the other and run sh  cmds.txt.

  The other thing that would need redoing is reconfiguring any installed
services, preferably by running the proper *-host-config.sh scripts.

  Oh, and you'll almost certainly need to regenerate /etc/passwd and
/etc/groups.

  Then, of course, you might need to adjust a bunch of file ownerships.



  This is why most people recommend just copying across the local packages
dir, and running setup.exe on the new machine telling it to install from
local package dir.  There's a fairly open-ended and underspecified list of
things you'd have to fix up manually if you try to copy the whole install
across.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Installer tasks

2007-08-17 Thread George

Dave Korn wrote:


  This is why most people recommend just copying across the local packages
dir, and running setup.exe on the new machine telling it to install from
local package dir.  There's a fairly open-ended and underspecified list of
things you'd have to fix up manually if you try to copy the whole install
across.


Hi,

Thanks for the feedback.

I have a script which so far does:

* Mounts
* Adds some users and messes with their rights
* Redoes password files
* Adds some services
* Fixes permissions across the whole file tree
* Starts said services

I did originally try and package the whole install up as an MSI, but 
it's just a horrible tool and I gave up.


On two of the hosts that I have installed this on there are the problems 
with slow fork()'s (see my other thread), so I was wondering if I'd 
missed something.


I'd assume I wouldn't need _most_ of the post install since that would 
be duplicated by copying the c:\cygwin\ dir.


I'm trying to get a maintenance window to reboot and rebaseall on the 
machines in question.  Only they're terminal servers in use by people in 
several timezones :(


Cheers,

George

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: rsync problems from Vista installed cygwin, ok on XP

2007-08-17 Thread DaveB


Corinna Vinschen-2 wrote:
 
 For testing I copied over the whole /usr directory from my Vista box to
 a Linux machine.  I'm rather puzzled how setting permissions on the
 *remote* machine should be affected by the OS of the source machine.
 
 I guess we need much more information.  Are the affected directories
 Cygwin-created directories or natively created dirs?  Do they contain
 spaces or native characters?  What are the local permissions on them
 (getfacl/cacls)?  Does your Vista account have admin privileges?  UAC
 switched on?  If so, is rsync running normally with reduced privileges
 or as administrator?  Is your remote Unix account root or non-root?
 
 Corinna
 


OK, encouraged by hearing that it works for you from Vista to a Linux
machine, I have retraced my steps and tried a much simpler contrived
example.  I set up a little folder tree c:\4up with a single file called
somejunk.txt and one subfolder with two files, a txt and a jpg, latter with
spaces but certainly no special characters.  That's on the Vista pc.  Then I
putty'd across to my ftp area on a Linux server and created a new subfolder
there called .../4up to copy these files to via rsync.  ls shows total 0 in
putty.
Then back on Vista pc in cygwin I cd'd to the 4up folder and typed in this
dry run rsync command

$ rsync -avzn --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up

It happily responded, listing the 2 directories and 3 files and no errors.
I then repeated the command without the dry run -n flag... ie set it live.
It came up with all the errors as before...

==
$ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up

[EMAIL PROTECTED]'s password:
building file list ...
5 files to consider
./
rsync: failed to modify permissions on /home/xxx/yyy/4up/.: Permission
denied (13)
rsync: recv_generator: failed to stat /home/xxx/yyy/4up/somejunk.txt:
Permission denied (13)
20070709 mach refresh issue/
rsync: recv_generator: mkdir /home/xxx/yyy/4up/20070709 mach refresh issue
failed: Permission denied (13)
*** Skipping everything below this failed directory ***
rsync: failed to modify permissions on /home/xxx/yyy/4up/20070709 mach
refresh issue: Permission denied (13)
rsync: recv_generator: mkdir /home/xxx/yyy/4up/. failed: Permission denied
(13)
*** Skipping everything below this failed directory ***

etc...
===

and after doing this failed rsync, I went back to the putty window to look
at the remote machine and typed ls again... and bingo... permission denied. 
cd .. and ls -l shows the directory 4up with permission now set to 0:
d-   2  x   48 Aug 17 07:42 4up/

===

Let me answer the rest of the questions if I can.
The affected directories are not cygwin created, now or before.  They are
natively created.
They do not contain special chars, nor does the full path to the first file
even contain a space  c:\4up\somjunk.txt but the subfolder and the two files
in it contain spaces.
Local permissions...  haven't used getfacl before but tried it in cygwin and
got this...


[EMAIL PROTECTED] /cygdrive/c/4up
$ getfacl *
# file: 20070709 mach refresh issue
# owner: daveb
# group: None
user::---
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:r-x
mask:rwx
other:---
default:group:SYSTEM:rwx
default:group:Administrators:rwx
default:group:Users:r-x
default:mask:rwx

# file: somejunk.txt
# owner: daveb
# group: None
user::---
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:r-x
mask:rwx
other:---

=

Vista account is only one on machine, has admin privileges.
UAC is switched on.
I did have cygwin, hence rsync running normally in this test, but now that
you remind me, I also tried it before using Run As Administrator on
cygwin. Made no difference.
Remote unix account is non root... I am using a service provider's Linux
box, don't know much about the machine, but I have 200GB of file space
available up there somewhere in the US.
I can putty to it and type in some commands to report info back if there is
something specific to find out. Also can talk to their tech support 24/7.

-- 
View this message in context: 
http://www.nabble.com/rsync-problems-from-Vista-installed-cygwin%2C-ok-on-XP-tf4260918.html#a12200543
Sent from the Cygwin Users mailing list archive at Nabble.com.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Permission denied problem

2007-08-17 Thread Marko Loparic
Hi,

I have a permission denied problem with a specific network directory

$ ls /cygdrive/x/PPP/QQQ
ls: cannot open directory /cygdrive/x/PPP/QQQ: Permission denied

I described this problem some time ago in
http://cygwin.com/ml/cygwin/2007-02/msg00023.html

Larry Hall suggested me to try nontsec, but this did not change the behaviour.

I also read the doc in

http://cygwin.com/cygwin-ug-net/ntsec.html

but couldn't get a solution for the problem. getfacl gives the same answer

$ getfacl.exe /cygdrive/x/PPP/QQQ
# file: /cygdrive/x/PPP/QQQ
# owner: ffa195
# group: mkgroup-l-d
user::rwx
group::r-x
other:r-x
mask:rwx

for both the directories with the permission problem and for other
directories without the problem.

Thank you very much in advance!
Marko

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



will cygwin work in the windows vista

2007-08-17 Thread wei
I check the FAQ and it mentioned that cygwin will work in most of the 
windows system except CE. Will it also work in the latest windows Vista?


Thanks
--Wei

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: Permission denied problem

2007-08-17 Thread Dave Korn
On 17 August 2007 17:26, Marko Loparic wrote:

 $ getfacl.exe /cygdrive/x/PPP/QQQ
 # file: /cygdrive/x/PPP/QQQ
 # owner: ffa195
 # group: mkgroup-l-d
 user::rwx
 group::r-x
 other:r-x
 mask:rwx
 
 for both the directories with the permission problem and for other
 directories without the problem.

  For comparison, what does the standard windows 'cacls.exe' utility tell you
about that directory, and about one where the problem doesn't happen?


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: rsync problems from Vista installed cygwin, ok on XP

2007-08-17 Thread Igor Peshansky
On Fri, 17 Aug 2007, DaveB wrote:

 Corinna Vinschen-2 wrote:
 
  For testing I copied over the whole /usr directory from my Vista box
  to a Linux machine.  I'm rather puzzled how setting permissions on the
  *remote* machine should be affected by the OS of the source machine.
 
  I guess we need much more information.  Are the affected directories
  Cygwin-created directories or natively created dirs?  Do they contain
  spaces or native characters?  What are the local permissions on them
  (getfacl/cacls)?  Does your Vista account have admin privileges?  UAC
  switched on?  If so, is rsync running normally with reduced privileges
  or as administrator?  Is your remote Unix account root or non-root?
 
  Corinna

 OK, encouraged by hearing that it works for you from Vista to a Linux
 machine, I have retraced my steps and tried a much simpler contrived
 example.  I set up a little folder tree c:\4up with a single file called
 somejunk.txt and one subfolder with two files, a txt and a jpg, latter
 with spaces but certainly no special characters.  That's on the Vista
 pc.  Then I putty'd across to my ftp area on a Linux server and created
 a new subfolder there called .../4up to copy these files to via rsync.
 ls shows total 0 in putty.
 Then back on Vista pc in cygwin I cd'd to the 4up folder and typed in
 this dry run rsync command

 $ rsync -avzn --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up

 It happily responded, listing the 2 directories and 3 files and no
 errors. I then repeated the command without the dry run -n flag... ie
 set it live. It came up with all the errors as before...

 ==
 $ rsync -avz --stats --progress -e ssh . [EMAIL PROTECTED]:/home/xxx/yyy/4up

 [EMAIL PROTECTED]'s password:
 building file list ...
 5 files to consider
 ./
 rsync: failed to modify permissions on /home/xxx/yyy/4up/.: Permission
 denied (13)
 rsync: recv_generator: failed to stat /home/xxx/yyy/4up/somejunk.txt:
 Permission denied (13)
 20070709 mach refresh issue/
 rsync: recv_generator: mkdir /home/xxx/yyy/4up/20070709 mach refresh issue
 failed: Permission denied (13)
 *** Skipping everything below this failed directory ***
 rsync: failed to modify permissions on /home/xxx/yyy/4up/20070709 mach
 refresh issue: Permission denied (13)
 rsync: recv_generator: mkdir /home/xxx/yyy/4up/. failed: Permission denied
 (13)
 *** Skipping everything below this failed directory ***

 etc...
 ===

 and after doing this failed rsync, I went back to the putty window to
 look at the remote machine and typed ls again... and bingo... permission
 denied. cd .. and ls -l shows the directory 4up with permission now set
 to 0:
 d-   2  x   48 Aug 17 07:42 4up/

 ===

 Let me answer the rest of the questions if I can.
 The affected directories are not cygwin created, now or before.  They
 are natively created.
 They do not contain special chars, nor does the full path to the first
 file even contain a space c:\4up\somjunk.txt but the subfolder and the
 two files in it contain spaces.
 Local permissions...  haven't used getfacl before but tried it in cygwin
 and got this...

 
 [EMAIL PROTECTED] /cygdrive/c/4up
 $ getfacl *
 # file: 20070709 mach refresh issue
 # owner: daveb
 # group: None
 user::---
 group::---
 group:SYSTEM:rwx
 group:Administrators:rwx
 group:Users:r-x
 mask:rwx
 other:---
 default:group:SYSTEM:rwx
 default:group:Administrators:rwx
 default:group:Users:r-x
 default:mask:rwx

 # file: somejunk.txt
 # owner: daveb
 # group: None
 user::---
 group::---
 group:SYSTEM:rwx
 group:Administrators:rwx
 group:Users:r-x
 mask:rwx
 other:---

 =

 Vista account is only one on machine, has admin privileges.
 UAC is switched on.
 I did have cygwin, hence rsync running normally in this test, but now that
 you remind me, I also tried it before using Run As Administrator on
 cygwin. Made no difference.
 Remote unix account is non root... I am using a service provider's Linux
 box, don't know much about the machine, but I have 200GB of file space
 available up there somewhere in the US.
 I can putty to it and type in some commands to report info back if there
 is something specific to find out. Also can talk to their tech support
 24/7.

Ok, here's a WAG.  Your problem stems from the fact that the Unix
permissions on that directory really are 0.  All of the access information
is stored in separate ACLs, which rsync does not copy.  Thus, it sets the
permissions on the remote copy to 0, and, obviously, is unable to write to
that directory afterwards.

You can run chmod -R 775 on that directory, which should, if my WAG
above is correct, fix your rsync problem.
Igor
P.S. Before you ask, I'm not aware of any way to make rsync copy the ACLs.
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_

Re: will cygwin work in the windows vista

2007-08-17 Thread Larry Hall (Cygwin)

wei wrote:
I check the FAQ and it mentioned that cygwin will work in most of the 
windows system except CE. Will it also work in the latest windows Vista?


Yes.

Where did you see the word most?

The main Cygwin site page says this:

  The Cygwin DLL currently works with all recent, commercially released
  x86 32 bit and 64 bit versions of Windows, with the exception of Windows
  CE.

Granted, the FAQ is a bit out of date and instead lists more specific
versions.  Still, the spirit is the same.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting annoying in email?

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



failed to install the latest version of cygwin X11 section

2007-08-17 Thread wei

Hi all

My cygwin has been working well until I made an update today. It crashed 
during the updated. Has anyone else had the same problem?  My system is 
Windows XP home edition


Thanks
--Wei





--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Cygwin won't install on Windows 2008.

2007-08-17 Thread Krzysztof Ostrowski
It deterministically gets stuck while executing (any of the) scripts in the
installation phase.
I haven't found any info on this on Google.
It doesn't help to run it in elevated or backward compatibility mode.

Krzys


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Cygwin won't install on Windows 2008.

2007-08-17 Thread wei
Similar problem in Windows XP.  It happens at least during the 
installation of X11.


Krzysztof Ostrowski wrote:

It deterministically gets stuck while executing (any of the) scripts in the
installation phase.
I haven't found any info on this on Google.
It doesn't help to run it in elevated or backward compatibility mode.

Krzys


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/

  



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: permissions/owners seen on cygwin-client vs. server

2007-08-17 Thread Linda Walsh

Don't know if it is helpful, but from another linux box, mounted with
cifs, I see pretty similar:

drwsrwsrwt   2 linusers0 Nov 24  2006 NT_Perflogs/
drwxr-s---   2 root   private  0 Jul 26  2006 archive/
drwsr-s---   4 backup backup   0 May 14 13:53 backup/
drwxr-xr-x   4 lindevel0 Jan  6  2007 bench/
drwxr-sr-x   3 lindevel0 Jan 27  2007 cygwin/
drwxr-x--x   4998 guest0 May  6  2003 guest/
drwxr-x--- 115 linlingrp   0 Aug 17 14:15 lin/
l?   ? ?  ??? linux
drwxr-x---   5  6 nogroup  0 May  6  2003 mailtest/
drwxr-xr-x   6 root   root 0 Jul 31 19:21 packages/
l?   ? ?  ??? projects
drwxr-s---   4 root   samba0 Jul 28  2005 samba/
l?   ? ?  ??? tools
drwsrws--x   4 wwwrun wwwrun   0 Jul 20  2006 www/
---

This begins to make me think it's not supposed to be this way under
cygwin (?)...

Larry Hall (Cygwin) wrote:
 other bootstrap information.
---
Bootstrap -- none that I know of.

  What, exactly, is this server?
---
Samba 3.0.26 on linux
 How are you connecting to it from the client?
---
? the network?  'ls //server/home' ?  Not sure what
you mean.
 What protocols are involved?
---
??  TCP/IP?  CIFS/SMBFS?
 How have you configured them?  Server is Domain Master, though
logins to client are local, not domain.
---
Not sure what/which config information you are wanting, but
mostly static maps, shared DNS server.  Not sure what you're wanting
exactly...don't make me guess neither! :-)

  Don't make us guess.

:^)
Linda

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/