Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
> I think you need to stop repeating that you are having a problem now and > start sending cygcheck output as referenced at the above web page. There > are other hints for reporting problems there too. > OK! > If you need to, run cygcheck directly from c:/cygwin/bin/cygcheck.exe . I can't do that.

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
Two issues as I see it. Firstly, cygwin doesn't appear to pick up that I have write access to the file README.txt. The getacl output below doesn't list Authenticated Users. I can't use vi to modify the file, but I can read the file using cat and so on. Secondly, cp takes a source file that I

Re: Multithreaded accept/connect hang (WSAEINPROGRESS)

2008-07-29 Thread Corinna Vinschen
On Jul 28 14:49, Labarre, Jean (GE Healthcare) wrote: > could somebody give me some details on how to "implement accept in > non-blocking mode manually in application", as Corinna suggested in > the aforementionned post? I meant just normal non-blocking operation. socket(); bind(); fcntl(

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Marco Atzeri
--- Tom Quarendon ha scritto: > Two issues as I see it. > Firstly, cygwin doesn't appear to pick up that I > have write access to > the file README.txt. The getacl output below doesn't > list Authenticated Users. this means that "Authenticated Users" is missing in your /etc/group getfacl use

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 08:49, Tom Quarendon wrote: > Two issues as I see it. > Firstly, cygwin doesn't appear to pick up that I have write access to the > file README.txt. The getacl output below doesn't list Authenticated Users. > I can't use vi to modify the file, but I can read the file using cat and so >

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
cp only copies POSIX permissions. This is consistent with POSIX semantics which states that when copying a file the POSIX ACL isn't copied as well. Having file permissions set for "authenticated users" but not for the actual owner is Win32 semantics. There's no 1:1 translation. Which rat

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 10:21, Tom Quarendon wrote: > >> cp only copies POSIX permissions. This is consistent with POSIX >> semantics which states that when copying a file the POSIX ACL isn't >> copied as well. Having file permissions set for "authenticated users" >> but not for the actual owner is Win32 seman

xmgrace does not start with cygwin

2008-07-29 Thread pafonso
Hello everyone: I have xmgrace running fine with Scientific Linux 5.2 - but I wanted to install it at home in my laptop too... I have been reading many posts about why xmgrace does not start in cygwin running in Windows (2000 P in my case). So I understand the problem (?) are the latest xo

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Marco Atzeri
--- Tom Quarendon ha scritto: Hi Tom, This is more a question for the mailing list > > > this means that "Authenticated Users" is missing > in > > your /etc/group > > > > getfacl use /etc/group to translate SID in group > name, > > but if the row is missing getfacl will ignore > > the unknow SI

Re: Problem making a package

2008-07-29 Thread Douglas Gemignani
Using tar -cjf and editing the setup.ini file solved my problem. For some reason 7zip doesn't compact .tar.bz2 properly. []s Douglas On Mon, Jul 28, 2008 at 10:17 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Mon, Jul 28, 2008 at 07:52:53PM -0300, Douglas Gemignani wrote: >>Hello, >> >

Re: Mingw gcc emit wrong symbols in multiple inheritance case

2008-07-29 Thread Greg Chicares
On 2008-07-29 06:22Z, Bo Yang wrote: > >When I am trying to build Mozilla with gcc-mingw, I came across > the linkage error of undefined symbols in multiple inheritance case. [...testcase...] > And the errors occurs when I build with gcc 4.3.0 but not with gcc > 3.4.2. Probably you meant to s

Re: Bash startup problems on Windows 2008 server

2008-07-29 Thread caryco
I can dup it on my system. In fact, bash works nice at the beginning. After I install Terminal Services and restart the system as requested, it cannot start anymore. I've disabled UAC and still the same. Can someone points out how to debug the problem? Thanks Cary Christopher Faylor-8 wrote: >

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Corinna Vinschen
On Jul 29 13:48, Marco Atzeri wrote: > --- Tom Quarendon ha scritto: > > Hi Tom, > This is more a question for the mailing list > > > > > > this means that "Authenticated Users" is missing > > in > > > your /etc/group > > > > > > getfacl use /etc/group to translate SID in group > > name, > > >

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Sam Nelson
On Mon, July 28, 2008 13:31, Corinna Vinschen wrote: > Two possible reasons come to mind: > > - The status code returned by TAS is not one of those three > - The status code returned by TAS is one of those three, but the >first call with FileIdBothDirectoryInformation has screwed up >TAS

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Corinna Vinschen
On Jul 29 13:54, Sam Nelson wrote: > On Mon, July 28, 2008 13:31, Corinna Vinschen wrote: > > and right in front of the comment starting in line 1713 in > > fhandler_disk_file.cc add > > > > if (!NT_SUCCESS (status)) > > debug_printf ("NtQueryDirectoryFile failed, status %p, win32 err

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Sam Nelson
On Tue, July 29, 2008 14:48, Corinna Vinschen wrote: > On Jul 29 13:54, Sam Nelson wrote: >> On Mon, July 28, 2008 13:31, Corinna Vinschen wrote: >> > and right in front of the comment starting in line 1713 in >> > fhandler_disk_file.cc add >> > >> > if (!NT_SUCCESS (status)) >> > deb

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Corinna Vinschen
On Jul 29 15:03, Sam Nelson wrote: > On Tue, July 29, 2008 14:48, Corinna Vinschen wrote: > > On Jul 29 13:54, Sam Nelson wrote: > >> 934 239541 [main] ls 5132 fhandler_disk_file::readdir: > >> NtQueryDirectoryFile failed, status 0xC0BB, win32 error 50 > >> 526 240067 [main] ls 5132 fhand

Wrong Permission on the /var directory

2008-07-29 Thread Olav
Hi, When running "$ ssh-host-config -y" after installing cygwin - for the firts time - on a Win XP Pro SP3 machine, there are some problem that occurs.Please see the output below. The Cygwin Setup.exe is v2.573.2.2. If I run the "ssh-host-config " and leaving out the '-y', and answer 'no' to the "

screen is not dead?

2008-07-29 Thread Julio Emanuel
Hi all, I saw some mails ago some references to the 'screen' command. Well I myself had (and still have) some needs that were just asking for the 'screen' panacea, and so I tried it. Unfortunately, I had quite a bad time trying to put it to work, and then I gave up, and turned out using the (tiny

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Sam Nelson
On Tue, July 29, 2008 14:48, Corinna Vinschen wrote: > I don't know > how much time you want to invest, but if you want to, you will have to > dig deeper: > > - First of all, disable setting dir->__flags |= dirent_get_d_ino in > fhandler_disk_file::opendir at line 1570. This disables the > Fil

heap trouble in cygwin 1.7.0(0.185/5/3)

2008-07-29 Thread bernd
I am trying to recompile gcc-4.3.1 in cygwin 1.7 and fail because sh can't allocate enough heap. I was able to compile gmp-4.2 and mpfr-2.3.0 for that purpose though. I set the max heap already to 2MB: $~ uname -a CYGWIN_NT-5.1 xxx 1.7.0(0.185/5/3) 2008-07-25 17:56 i686 Cygwin $~ gcc --version gc

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Corinna Vinschen
On Jul 29 15:55, Sam Nelson wrote: > On Tue, July 29, 2008 14:48, Corinna Vinschen wrote: > > I don't know > > how much time you want to invest, but if you want to, you will have to > > dig deeper: > > > > - First of all, disable setting dir->__flags |= dirent_get_d_ino in > > fhandler_disk_file:

Re: opendir/readdir failure on non-Samba Unix-hosted remote volumess

2008-07-29 Thread Sam Nelson
On Tue, July 29, 2008 16:16, Corinna Vinschen wrote: > On Jul 29 15:55, Sam Nelson wrote: >> On Tue, July 29, 2008 14:48, Corinna Vinschen wrote: >> > I don't know >> > how much time you want to invest, but if you want to, you will have to >> > dig deeper: >> > >> > - First of all, disable setting

Re: screen is not dead?

2008-07-29 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Julio Emanuel wrote: | So, can you tell me if these hanging problems were after all fixed, | and I'm the only one with them? Or is this just a matter of luck, | because I've now seen some mails of people talking so good of this | cygwin package...?

Re: Wrong Permission on the /var directory

2008-07-29 Thread Olav
Well, "chmod -R 777 /var" did the trick, but is it advisable to do this, or do I only have to chmod 777 on one or more specific subfolders of /var?If so, which one? "chnod 777 /var" did not help. -- "Olav" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] > Hi, > > When running "$ ss

Re: screen is not dead?

2008-07-29 Thread Andrew Schulman
> And so I settled for the self-conclusion > that this was a 'dead' package, waiting for someone to look at... No, the package is not dead. Cygwin has the latest release, version 4.0.3, and I'm not aware of any current problem reports on it. > So, can you tell me if these hanging problems were

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: I re do all the procedure that I can summarize: 1) from www.cygwin.com I download setup.exe on the PC_A 2) Using PC_A I download all the distribution fron HEANET.IE in the temp dir c:/temp_cygwin 3) On the PC_B I erased all related to cygwin (file, directory and using regedit

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
Thanks for your feedback. I looked in the postinstall directory and all the file have .done how you can see in the attached file Only the joe-manifest.lst do not have .done but there is joe.sh.done On Tue, Jul 29, 2008 at 9:30 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: > peterpan1616 wrote

straightforward cygcheck enhancement (was Re: Download Cygwin once and intall it several times)

2008-07-29 Thread Christopher Faylor
On Tue, Jul 29, 2008 at 03:30:22PM -0400, Larry Hall (Cygwin) wrote: >From your cygcheck output, I have to conclude that 'setup.exe' didn't >run its postinstall scripts. You can verify this by looking in >'c:\cygwin\etc\postinstall' for any scripts without a '.done' suffix. It just occurred to me

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Christopher Faylor
On Tue, Jul 29, 2008 at 03:30:22PM -0400, Larry Hall (Cygwin) wrote: >peterpan1616 wrote: >>I re do all the procedure that I can summarize: 1) from www.cygwin.com >>I download setup.exe on the PC_A 2) Using PC_A I download all the >>distribution fron HEANET.IE in the temp dir c:/temp_cygwin 3) On t

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
All considered, for debugging purpose I can erase again all, erase the environment variable and I can rerun all again avoiding the creation of the home dir? More or less in 1 hour I can verify the result What do you think about? On Tue, Jul 29, 2008 at 10:39 PM, Christopher Faylor <[EMAIL PROTECT

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: Thanks for your feedback. I looked in the postinstall directory and all the file have .done how you can see in the attached file Only the joe-manifest.lst do not have .done but there is joe.sh.done Hm. That leads me to believe that although the scripts were "run", they were

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: All considered, for debugging purpose I can erase again all, erase the environment variable and I can rerun all again avoiding the creation of the home dir? More or less in 1 hour I can verify the result What do you think about? If 'setup.log*' doesn't show anything of inter

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
If you are speaking about the files under the temp directory and parallel to the repository with name http%3a%2f%fftp.heanet .etc are exactly like when I finished to download the repository (in this case date and time is 29/07/2008 10:20AM (for me this morning now for me is 11PM) On Tue, Jul

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
I can reinstall all but I have some doubts to be able to run a bash script in a cmd window (remember that in the bash window not run anything) On Tue, Jul 29, 2008 at 10:57 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: > peterpan1616 wrote: >> >> All considered, for debugging purpose I can er

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: If you are speaking about the files under the temp directory and parallel to the repository with name http%3a%2f%fftp.heanet .etc are exactly like when I finished to download the repository (in this case date and time is 29/07/2008 10:20AM (for me this morning now for me

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: I can reinstall all but I have some doubts to be able to run a bash script in a cmd window (remember that in the bash window not run anything) You can't run anything because "/bin" isn't in your path most likely. Using fully qualified paths will work in this case. And posti

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
Why, exactly? The answer is: exactly I do not know why. Looking in the repository, effectively the ash package there isn't. But consider also that, the same repository, directly download on a pc do not make problems. On Tue, Jul 29, 2008 at 11:33 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
I can also say that using the setup.exe and trying to go in the same mirrors, using the 'install' options, ash is marked like keep and probably setup do not download it. On Tue, Jul 29, 2008 at 11:33 PM, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: > peterpan1616 wrote: >> >> I can reinstall all

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: Why, exactly? The answer is: exactly I do not know why. Looking in the repository, effectively the ash package there isn't. But consider also that, the same repository, directly download on a pc do not make problems. If the PC without problems was installed from the same re

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
Yes, I used always the same mirror in Ireland because it is fast. But how can solve the problem of the dependencies? How written before, if I use the 'install' option the ash is marked keep and jumped. Do you have advices about? On Wed, Jul 30, 2008 at 12:04 AM, Larry Hall (Cygwin) <[EMAIL PROTECT

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: I can also say that using the setup.exe and trying to go in the same mirrors, using the 'install' options, ash is marked like keep and probably setup do not download it. Yes, relying on 'setup.exe' to download you everything you need from a machine that already has Cygwin in

Re: Download Cygwin once and intall it several times

2008-07-29 Thread peterpan1616
I'm a bit confuse. I was thinking that setup.exe was a sort of wizard able to download what you want and selecting the options 'install' he download ALL. Now I'm not sure. If I use a program like wget, I obtain all from the repository but how match the dependency? If I download cygwin today on this

Re: Download Cygwin once and intall it several times

2008-07-29 Thread Larry Hall (Cygwin)
peterpan1616 wrote: I'm a bit confuse. I was thinking that setup.exe was a sort of wizard able to download what you want and selecting the options 'install' he download ALL. Now I'm not sure. If I use a program like wget, I obtain all from the repository but how match the dependency? If I downloa

sys/utmp.h: login(3)

2008-07-29 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I've come across a difference between the prototypes of login(3) on Cygwin and Linux. On Linux, login() takes a const struct utmp *; our login (both stable and HEAD) doesn't specify const. More details at

Can't use special characters \n or \r

2008-07-29 Thread jay3205
I have a text file made in Windows, and I'm trying to replace all the carriage returns with nothing. However, whenever I use \r or \n to indicate a carriage return or newline in a grep or sed search string, it is treated as a normal r and normal n. Anyone have any idea of what may be causing this?

Re: Can't use special characters \n or \r

2008-07-29 Thread Larry Hall (Cygwin)
jay3205 wrote: I have a text file made in Windows, and I'm trying to replace all the carriage returns with nothing. However, whenever I use \r or \n to indicate a carriage return or newline in a grep or sed search string, it is treated as a normal r and normal n. Anyone have any idea of what may

Re: sys/utmp.h: login(3)

2008-07-29 Thread Christopher Faylor
On Tue, Jul 29, 2008 at 09:22:10PM -0500, Yaakov (Cygwin Ports) wrote: >I've come across a difference between the prototypes of login(3) on >Cygwin and Linux. On Linux, login() takes a const struct utmp *; our >login (both stable and HEAD) doesn't specify const. > >More details at