RE: Suggestion for setup
> -Original Message- > From: Michael A Chase [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 11:46 PM > To: Andrew DeFaria; cygwin > Subject: Re: Suggestion for setup > > > - Original Message - > From: "Andrew DeFaria" <[EMAIL PROTECTED]> > Newsgroups: gmane.os.cygwin > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 06, 2002 13:46 > Subject: Re: Suggestion for setup > > > > Michael A Chase wrote: > > > > > I recently messed with the function that does that, so I > can confirm > that it > > > only runs mkpasswd and mkgroup if the corresponding files > don't exist. > > static void > make_passwd_group () > { > String fname = cygpath ("/etc/postinstall/passwd-grp.bat"); > io_stream::mkpath_p (PATH_TO_FILE, fname); > > if (uexists ("/etc/passwd") && uexists ("/etc/group")) > return; > . . . So /etc/passwd AND /etc/group are re-created if /etc/passwd OR /etc/group does not exist ;-( Would be better to condition creation of /etc/passwd to it not being present, and the like for /etc/group. Bernard Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: FW: Suggestion for setup
> -Original Message- > From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 9:34 PM > To: [EMAIL PROTECTED] > Subject: Re: FW: Suggestion for setup > > > On Wed, Mar 06, 2002 at 06:32:24PM +0100, Bernard Dautrevaux wrote: > > Sorry, click on the wrong button and send a private mail to > Corinna... :-) > > Unlikely since I'm using the mailing list address in my "From:" > field. Just "reply" to my mailings and even Outlook sends > only one message to the list... > Yes, I've seen that, but too late :-) :) I was fooled by the fact even if the address was the one for the mailing list, the in-clear name (that you must "open" to see what the address is) is "Corinna Vinschen" ... 8-0 Bernard Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: KDE under Cygwin?
> Is anyone using KDE, KOffice, (especially) > KDevelop with Cygwin? I assume it > would need the qt library. Is this all workable? > Look at http://kde-cygwin.sourceforge.net. There are alpha releases of some kde packages Regards Ralf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Suggestion for setup
- Original Message - From: "Bernard Dautrevaux" <[EMAIL PROTECTED]> To: "'Michael A Chase'" <[EMAIL PROTECTED]>; "Andrew DeFaria" <[EMAIL PROTECTED]>; "cygwin" <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 00:17 Subject: RE: Suggestion for setup > > > -Original Message- > > From: Michael A Chase [mailto:[EMAIL PROTECTED]] > > Sent: Wednesday, March 06, 2002 11:46 PM > > To: Andrew DeFaria; cygwin > > Subject: Re: Suggestion for setup > > > > > > - Original Message - > > From: "Andrew DeFaria" <[EMAIL PROTECTED]> > > Newsgroups: gmane.os.cygwin > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, March 06, 2002 13:46 > > Subject: Re: Suggestion for setup > > > > > > > Michael A Chase wrote: > > > > > > > I recently messed with the function that does that, so I > > can confirm > > that it > > > > only runs mkpasswd and mkgroup if the corresponding files > > don't exist. > > > > > > > static void > > make_passwd_group () > > { > > String fname = cygpath ("/etc/postinstall/passwd-grp.bat"); > > io_stream::mkpath_p (PATH_TO_FILE, fname); > > > > if (uexists ("/etc/passwd") && uexists ("/etc/group")) > > return; > > . . . > > So /etc/passwd AND /etc/group are re-created if /etc/passwd OR /etc/group > does not exist ;-( > > Would be better to condition creation of /etc/passwd to it not being > present, and the like for /etc/group. I only showed the function down to the first cutoff. If both files are already present, the function returns immediately and the batch file isn't opened. If either is present, the command to create that file isn't put in the batch file. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: login: no shell: /bin/bash: Permission denied
> -Original Message- > From: Andrew DeFaria [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 06, 2002 10:56 PM > To: [EMAIL PROTECTED] > Subject: Re: login: no shell: /bin/bash: Permission denied > > Regardless, to me it's still would be a large security hole > if all one > needs to do is: > > $ echo "+" > ~/.rhosts > > to be able to abuse rsh to do something under somebody else's > user ID is > it not? > Note however that the "echo" above has to be done by "anotheruser"; you can't do it. Rsh is insecure, but it at least verify that ONLY anotheruser is able to write to its own "~/.rhosts" :-) And if you'r e fool enough to do this, you may as well do that: $ echo "my password" > ~/THIS_IS_MY_PASSWORD $ chmod a+r ~/THIS_IS_MY_PASSWORD :) :) :) :) Bernard Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Thu, Mar 07, 2002 at 09:01:45AM +0100, Jan Nieuwenhuizen wrote: > Corinna Vinschen <[EMAIL PROTECTED]> writes: > > > These user rights are by default only given to SYSTEM regardless > > of the NT version. XP differs only by requiring less of these > > user rights in one of the needed system calls. > > Ok, but I can't seem to add specific rights to users with this version > of windows xp (home edition). You can give a user administrator > rights (whatever set of rights that is), or not. Is this another toy > operating system after all? Yes and no. Fact is, the kernel and the libraries are a real NT system. But the system tools don't allow you to do all that stuff. You should have taken "Home Edition" really serious. But that isn't what you do anyway. Use sshd or inetd/telnet to switch user context as you already do. That's more secure. Imagine your account has the user right "act as part of the operating system" and you install a virulent application accidentally... > Anyway, the su alias using ssh works fine; too bad that noone > responded on *that*, while it seems that everyone needs su. It's in this mailing list's archive. If anybody asks for su again, we can point him/her to your posting. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Wed, Mar 06, 2002 at 01:56:07PM -0800, Andrew DeFaria wrote: > OK then, seems to me that su might be implementable by using a service > that runs as SYSTEM and takes requests to switch user from user A to > user B. Possible? Sure. It's exactly the way the user switch is implemented in 2K/XP. > Regardless, to me it's still would be a large security hole if all one > needs to do is: > > $ echo "+" > ~/.rhosts > > to be able to abuse rsh to do something under somebody else's user ID is > it not? It's the same on U*X. If you don't care for the permissions of your home directory you're out of luck. And rsh is a dangerous service anyway. If you don't want it, just remove the matching line in /etc/inetd.conf and use ssh. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: xdvi runtime error
On Wed, Mar 06, 2002 at 10:32:38PM -0500, Nicolae Santean wrote: > > I believe that the 128 megabyte realloc failure is a consequence > (memory leak - maybe) of the other errors: > > "xdvi: fcntl F_SETOWN: Invalid argument", "setsid: Not owner" > > I am getting these errors first, and then I watch the memory being > slowly flooded. By no means xdvi should go to 128Mb. I suspect that > I have used wrong config/makefile settings during the make/install > and now xdvi is calling what it shouldn't. If xdvi is irritated by the result of fcntl(F_SETOWN) then you should tweak xdvi to not use it. F_SETOWN isn't supported by Cygwin. It always returns -1, errno = EINVAL. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Corinna Vinschen <[EMAIL PROTECTED]> writes: >> rights (whatever set of rights that is), or not. Is this another toy >> operating system after all? > > Yes and no. Fact is, the kernel and the libraries are a real > NT system. But the system tools don't allow you to do all that > stuff. Ok. So maybe with the right tools (or /proc/registry tweaking), "Home Edition" could be taught to administer nt rights for users/groups. > You should have taken "Home Edition" really serious. > > But that isn't what you do anyway. I don't understand? [This machine isn't mine, of course, but I've now got the choice of using this iso an old Windows 98 box to test cygwin stuff] > Use sshd or inetd/telnet to switch user context as you already do. > That's more secure. > Imagine your account has the user right "act as part of the > operating system" and you install a virulent application > accidentally... Sure. Amazingly, the default setup from Miscrosoft is with Outlook and one user without passwd, who has administrator (and whatnot) rights. So for enhanced vulnerability, a default IIS install should suffice, I guess. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Thu, Mar 07, 2002 at 10:43:02AM +0100, Jan Nieuwenhuizen wrote: > > Yes and no. Fact is, the kernel and the libraries are a real > > NT system. But the system tools don't allow you to do all that > > stuff. > > Ok. So maybe with the right tools (or /proc/registry tweaking), "Home > Edition" could be taught to administer nt rights for users/groups. I have XP HE and XP Prof versions for testing purposes. The restrictions in HE are really tricky. I tried even stuff as moving DLLs and MMC snapins from Prof to HE but to no avail. Registry tweaking is useless, too. The user rights are in the SAM. What I didn't try but what should work is writing your own application using LSA Policy functions. Which means, writing your own "Local Security Policy" application. > > But that isn't what you do anyway. > > I don't understand? [This machine isn't mine, of course, but I've now > got the choice of using this iso an old Windows 98 box to test cygwin > stuff] Sorry, that should read "But that isn't what you *should* do anyway." > Sure. Amazingly, the default setup from Miscrosoft is with Outlook > and one user without passwd, who has administrator (and whatnot) > rights. So for enhanced vulnerability, a default IIS install should > suffice, I guess. Yeah, HE is an NT system which has been downgraded nearly to the usual 98 insecurity. It's annoying. However, it was funny to see, that `ntsec' works fine. Unfortunately you can neither set nor see the permissions in the GUI. But you can, using Cygwin. So with Cygwin you can upgrade HE ;-) Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Tom, On Thu, Mar 07, 2002 at 06:03:46AM +0100, Tom Lauren wrote: > Hm, I´m seriously wondering if *anybody* did manage it to run under W98... Yes, many -- including myself. > So now I´ll describe it more precisely: > I´ve tested around all night ;) and found out, that *no* script works > correctly whereas its command-line pendant does. I'm sorry but your Cygwin installation seems broken. I would fix that before trying PostgreSQL again. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Corinna Vinschen <[EMAIL PROTECTED]> writes: > I have XP HE and XP Prof versions for testing purposes. The restrictions > in HE are really tricky. I tried even stuff as moving DLLs and MMC > snapins from Prof to HE but to no avail. Ok, so they're really rather different, in distributed system software. > Registry tweaking is useless, too. The user rights are in the SAM. Yes, I understand that; but I was thinking the NT server vs workstation registry setting. If there would just have been this prof/he key. > Yeah, HE is an NT system which has been downgraded nearly to the > usual 98 insecurity. It's annoying. However, it was funny to > see, that `ntsec' works fine. Unfortunately you can neither set > nor see the permissions in the GUI. But you can, using Cygwin. > So with Cygwin you can upgrade HE ;-) Yes, Cygwin gives a lot more insight in permissions. It seems however, that XP (HE) doesn't respect execute permissions on directories, in some cases. Moreover, read and execute permissions in /cygdrive/c seem to be granted in any case. $ mkdir 400; echo 400 > 400/400; chmod 400 400 $ ls -ld 400 400/400; cat 400/400 dr2 fred Geen0 Mar 7 12:52 400 -rw-rw-rw-1 fred Geen4 Mar 7 12:52 400/400 $ cd 400 bash: cd: 400: Permission denied $ ls -l /cygdrive/c/autoexec.bak -rwx--1 tom Geen 18 Mar 7 12:55 /cygdrive/c/autoexec.bak $ cat /cygdrive/c/autoexec.bak Path=C:\WINDOWS; $ id uid=1009(fred) gid=513(Geen) groups=0(Iedereen),513(Geen),545(Gebruikers) $ mount C:\cygwin\bin on /usr/bin type system (binmode) C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type system (binmode) c: on /cygdrive/c type user (textmode,noumount) Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Thu, Mar 07, 2002 at 02:04:38PM +0100, Jan Nieuwenhuizen wrote: > Yes, Cygwin gives a lot more insight in permissions. It seems > however, that XP (HE) doesn't respect execute permissions on > directories, in some cases. Moreover, read and execute permissions in > /cygdrive/c seem to be granted in any case. > > $ mkdir 400; echo 400 > 400/400; chmod 400 400 > $ ls -ld 400 400/400; cat 400/400 > dr2 fred Geen0 Mar 7 12:52 400 > -rw-rw-rw-1 fred Geen4 Mar 7 12:52 400/400 > $ cd 400 > bash: cd: 400: Permission denied I don't understand your example. What's wrong? Hmm, ok, I assume you expect a `Permission denied' when trying to ls 400/400, right? This is not HE specific, it's default for all NT versions. It's a user right called "Bypass traverse checking" which is by default given to everyone! It means, when accessing a file, the system only checks your permissions on the file but not your permissions on the directories in the file's path. No chance to do that 100% POSIX compliant since it's not in the responsibility of Cygwin to change user rights. And we decided not to simulate that behaviour. Cygwin is already slow enough. > $ ls -l /cygdrive/c/autoexec.bak > -rwx--1 tom Geen 18 Mar 7 12:55 /cygdrive/c/autoexec.bak > $ cat /cygdrive/c/autoexec.bak > Path=C:\WINDOWS; > $ id > uid=1009(fred) gid=513(Geen) groups=0(Iedereen),513(Geen),545(Gebruikers) Ok, check the *full* permissions using getfacl. You'll be surprised, probably... Don't forget that an ACL contains more than just three entries. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Telneting/ftping to cygwin
I just did a compleat reinstall of cygwin from scratch on my win2k machine. Before I had it setup to allow me to telnet and ftp to my machine using cygwin. Now I am unable to. I have run inetd.exe --install-as-service and I have the cygwin variable setup as tty title glob ntea binmode. When I telnet in I get: [lbohm@YODA:/usr/doc/Cygwin] > telnet yoda Trying 192.233.225.228... Connected to yoda. Escape character is '^]'. Connection closed by foreign host. Where yoda is the name of my win2k host. The above tells me that in.telnetd is running but that something else is stopping it. I do not see a hosts.allow or a hosts.deny anywhere. What am I missing to get this working?? Thanks, Louis -- ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ ¤°`°Lightbridge, Inc ¤°`°67 South Bedford St. ¤°`°Burlington MA 01832 ¤°`°781.359.4795 mailto:[EMAIL PROTECTED] ¤°`°http://www.lightbridge.com ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: CVS Broken?
Matt, Please keep your replies onlist for the achives... On Thu, Mar 07, 2002 at 12:12:37AM -0500, Matt Goyer wrote: > >> Are you mixing Cygwin and Win32 cvs? > > No. OK. > Though I had no problems checking out the project so I'm puzzled why I > got the error but checking out seemed to fix things. Did you recently change from text to bin mode mounts? If so, then my WAG is this would behave similarly to mixing Cygwin and Win32 cvs. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
gettext, scrollkeeper-0.3.5
Trying to compile scrollkeeper-0.3.5 on an up-to-date cygwin, I run into a problem with gettext: ... gcc -g -O2 -o scrollkeeper-tree-separate.exe separate.o -L/usr/lib -lz -lz .libs/libimp-cygxslt-1.a -lz .libs/libimp-cygxml2-2.a -lz -lz ../libs/.libs/libscrollkeeper.a separate.o: In function `usage': /usr/local/src/scrollkeeper-0.3.5/buildtools/separate.c:290: undefined reference to `gettext' separate.o: In function `main': /usr/local/src/scrollkeeper-0.3.5/buildtools/separate.c:303: undefined reference to `bindtextdomain' /usr/local/src/scrollkeeper-0.3.5/buildtools/separate.c:304: undefined reference to `textdomain' /usr/local/src/scrollkeeper-0.3.5/buildtools/separate.c:316: undefined reference to `gettext' /usr/local/src/scrollkeeper-0.3.5/buildtools/separate.c:337: undefined reference to `gettext' ../libs/.libs/libscrollkeeper.a(error.o.b): In function `check_ptr': /usr/local/src/scrollkeeper-0.3.5/libs/error.c:114: undefined reference to `gettext' 'configure --with-included-gettext' or 'configure --without-nls' doesn't make any difference. Looks like a good ol' libtool problem. What should be my next step? kind regards Peter Ring -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
×£Äú´º½Ú¿ìÀÖ£¡Âíµ½³É¹¦£¡
Íø¿Í¡¡°ÒÁÃÃ¹ã¸æÍø¡±È«ÐÂÍÆ³ö Óû§ÄúºÃ£¡ ¡°ÒÁÃÃ¹ã¸æÍø¡±ÊÇÓɱ±¾©ÎåÖÞÁªÑ¶ÍøÂçÐÅÏ¢·þÎñÖÐÐÄ´´°ì£¬Á¥ÊôÓÚÍø¿Í¡ȫÇò²úÆ·×ÊÑ¶Íø£¬×¨Òµ´Óʵç×ÓÓʼþ¹ã¸æÍ¶µÝµÄÍøÕ¾¡£¡°ÒÁÃÃ¹ã¸æÍø¡±Ä¿Ç°ÓµÓÐ900¶àÍò¹úÄÚÓÐЧµÄEMAILµØÖ·Êý¾Ý¿â£¬¿Í»§¿É¸ù¾Ý×ÔÉí¹ã¸æµÄ×îÖÕÄ¿±ê£¬·ÖÀàɸѡ×îÓÐЧµÄEMAILµØÖ·£¬´Ó¶ø±ÜÃâÁËÒÔǰäĿͶ·ÅµÄ·½ ÿ·âE-MAIL¼Û¸ñ½ö£º0.01Ôª ÍøÖ·£ºhttp://www.emad.wklong.com ×¢£º¹ã¸æ¶©µ¥ÖеĵڢÝÏWWE¹¤×÷Ö¤ºÅÌîд£º2737650029(Îñ±ØÌîд) Íø¿Í¡£¨±±¾©£© WKLONG.COM µç»°: 010-60518302 ´«Õæ: 010-60518740 E-MAIL: [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Corinna Vinschen <[EMAIL PROTECTED]> writes: > I don't understand your example. What's wrong? Hmm, ok, I assume > you expect a `Permission denied' when trying to ls 400/400, right? Yes, sorry to be so implicit. > This is not HE specific, it's default for all NT versions. It's > a user right called "Bypass traverse checking" which is by default > given to everyone! It means, when accessing a file, the system > only checks your permissions on the file but not your permissions > on the directories in the file's path. No chance to do that 100% > POSIX compliant since it's not in the responsibility of Cygwin to > change user rights. And we decided not to simulate that behaviour. > Cygwin is already slow enough. Ok, thanks. Good to know that directory permissions on Windows NT are pretty useless. And no, it wouldn't make much sense to enforce POSIX compliance artificially, imo. If the kernel grants access, that's it. $ ls -dl 000 000/x d-0 fred Geen0 Mar 7 13:45 000 -rwx--1 fred Geen 11 Mar 7 13:45 000/x $ cat ./000/x; ./000/x echo hallo hallo >> $ ls -l /cygdrive/c/autoexec.bak >> -rwx--1 tom Geen 18 Mar 7 12:55 /cygdrive/c/autoexec.bak >> $ cat /cygdrive/c/autoexec.bak >> Path=C:\WINDOWS; >> $ id >> uid=1009(fred) gid=513(Geen) groups=0(Iedereen),513(Geen),545(Gebruikers) > > Ok, check the *full* permissions using getfacl. You'll be surprised, > probably... Don't forget that an ACL contains more than just three > entries. Indeed: $ getfacl /cygdrive/c/autoexec.bak # file: /cygdrive/c/autoexec.bak # owner: tom # group: Geen user::rwx group::--- group:SYSTEM:rwx group:Administrators:rwx group:Gebruikers:r-x mask::--- other::--- There are four groups getting group permissions. Thanks for pointing this out as well. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Telneting/ftping to cygwin
On Thu, Mar 07, 2002 at 08:22:37AM -0500, Louis Bohm wrote: > I just did a compleat reinstall of cygwin from scratch on my win2k > machine. Before I had it setup to allow me to telnet and ftp to my machine > using cygwin. Now I am unable to. > > I have run inetd.exe --install-as-service and I have the cygwin variable > setup as tty title glob ntea binmode. When I telnet in I get: > [lbohm@YODA:/usr/doc/Cygwin] > telnet yoda > Trying 192.233.225.228... > Connected to yoda. > Escape character is '^]'. > Connection closed by foreign host. > Where yoda is the name of my win2k host. The above tells me that > in.telnetd is running but that something else is stopping it. I do not see > a hosts.allow or a hosts.deny anywhere. > > What am I missing to get this working?? Any hint in the event log? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Blackbox ?
Anybody know where to download this windowsmanager ? The original site is up but the download links are down :-( Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re^2: xdvi runtime error
Thanks for your replay/advice . Let me share with you what I have found on my side: 1. Apparently, the heap_chunk_in_mb registry does not always tweak the memory default limit for cygwin. Many people report this issue and it actually happened to me as well. But, here's what I tried: increased the value to 512Mb (instead of 256Mb - what I wanted) and I finally got my 256Mb (sharp) increase. I guess I have to set it to double what I want in order to get it (?). 2. I have fixed one of my xdvi problems: the error "setsid: Not owner" is due to the fact that xdvi calls vfork(), if not instructed to do otherwise. Apparently vfork() is not supported and I fixed the problem by redefining vfork as fork. 3. Now, that I have increased the cygwin memory limit, xdvi goes to 256Mb and dies there, so I guess I was right about this abnormal run. I will try to follow the indication about fcntl(F_SETOWN) - thanks for the advice. I found the same xdvi problem reported on the XFree86 mail list - with no follow-ups. So, I'll keep digging. Thanks again, and if you find more related clues, please let me know. Nic. Santean >On Wed, Mar 06, 2002 at 10:32:38PM -0500, Nicolae Santean wrote: > > > > I believe that the 128 megabyte realloc failure is a consequence > > (memory leak - maybe) of the other errors: > > > > "xdvi: fcntl F_SETOWN: Invalid argument", "setsid: Not owner" > > > > I am getting these errors first, and then I watch the memory being > > slowly flooded. By no means xdvi should go to 128Mb. I suspect that > > I have used wrong config/makefile settings during the make/install > > and now xdvi is calling what it shouldn't. > >If xdvi is irritated by the result of fcntl(F_SETOWN) then you >should tweak xdvi to not use it. F_SETOWN isn't supported by >Cygwin. It always returns -1, errno = EINVAL. > >Corinna >Nicolae, >A 128 megabyte realloc fails? No kidding?? >There is a Cygwin-wide allocation limit that defaults, if I recall >correctly, to 128 megabytes. There is a registry entry that overrides this default called HEAP_CHUNK_IN_MB. >Here are the details, excerpted from an email by "Scott A. Hill" ><[EMAIL PROTECTED]> sent Tue, 3 Apr 2001 07:59:30 -0400: >-==- HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\ >Create a new DWORD value there called "heap_chunk_in_mb" that contains >the >maximum amount of memory (in Mb) your application needs (watch the >hex/decimal toggle). Exit and restart all cygwin applications. >The default is 128 (i.e. 128Mb) if no registry key is set. -==- >Good luck. >Randall Schulz Mountain View, CA USA >Hello, >I have recently compiled xdvi22.53 under cygwin1.3.9, but I am having >problems running it. The runtime error is: xdvi: fcntl F_SETOWN: Invalid argument - mktexpk --mfmode cx --bdpi 300 --mag 'magstep(0.5)' --dpi 329 cmsl10 '>&3' setsid: Not owner xdvi: fcntl F_SETOWN: Invalid argument xdvi: ! Out of memory (rellocating 134179459 bytes). >Any ideea abot what am I doing wrong? This may not be directly related >to cygwin, case in which I appologize for intrusion. Nevertheless, if >anybody has xdvi installed over cygwin and/or knows what's going on, >please replay to either this mailing list or directly to me at: >[EMAIL PROTECTED] >Nick _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin 1.3.10: kill gives spurious Not owner
> /cygdrive/d/jdk1.3/bin/java is undoubtedly not a cygwin process It is a bash script that runs a java program. I would expect the bash script to catch and process the signal. Is this a mistaken assumption? > The work around is to use bash to start the process. This is what I am doing. The script is only two lines long, viz: #!/bin/bash java -server -classpath "./NewFlatFileAdapter.jar:$MERIDIAN_CLASSPATH" -Dmeridian.home="$MERIDIAN_HO ME" com.misys.meridian.runtime.server.StartServer ewFlatFileAdapter -logToScreen regards Stephen __ Stephen Osborn Meridian Senior Consultant Tel: +44 (0)20 8486 1790 (Direct) Fax: +44 (0)20 8947 2718 E-mail: [EMAIL PROTECTED] Web: www.misys.com This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the intended named recipient of this email then you should not copy it or use it for any purpose, nor disclose its contents to any other person. You should contact Misys International Banking Systems as shown below so that we can take appropriate action at no cost to yourself. Misys International Banking Systems Ltd, 1 St George's Road, Wimbledon, London, SW19 4DR, England. Email: [EMAIL PROTECTED] Tel: +44 (0) 20 8879 1188 Fax: +44 (0) 20 8947 3373 Misys International Banking Systems Ltd is registered in England and Wales under company no. 971479 __ - Original Message - From: Christopher Faylor <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 04, 2002 7:10 PM Subject: Re: cygwin 1.3.10: kill gives spurious Not owner > On Mon, Mar 04, 2002 at 03:54:52PM -, Stephen Osborn wrote: > >When using kill I get spurious "Not owner" messages, even though all > >processes (reported by ps) are running as me. > > > >In the mailing list archives the only problems with kill seem to be > >related to killing *other* users' processes. This is not what I am > >doing. > > > >I am running Cygwin on NT. Cygcheck o/p at the bottom. > > > >I have a script (A) which runs another script (B) in a separate > >process. B stores its PID and this is retrieved by the A. B also runs > >another script (C) in a separate process. > > > >Script A tries to remove all of these processes in a housekeeping > >exercise, by using ps, grep and script B's PID. > > > >This successfully kills script B but on script C a "Not owner" error is > >thrown. > > > >This was working as expected (i.e. both B & C were killed) but this > >changed a couple of days ago. > > > >I have modified script A to remove the kill command and after the run > >ps gives > > > > PIDPPIDPGID WINPID TTY UIDSTIME COMMAND > > 802 1 802802 con 1006 14:11:18 /usr/bin/bash > >I 564 1 564564 con 1006 14:11:40 /usr/bin/bash > > 831 11020 1034 con 1006 14:38:57 /usr/bin/sh > > 920 8311020920 con 1006 Jan 1 /cygdrive/d/jdk1.3/bin/java > > 682 802 682571 con 1006 14:44:04 /usr/bin/ps > > > >Issuing kill 920 (=script C) yields > >bash: kill: (920) - Not owner > > /cygdrive/d/jdk1.3/bin/java is undoubtedly not a cygwin process so it > doesn't respond to cygwin signals. This is because recent versions of > /bin/sh now use vfork()/exec() to start processes. vfork/exec does > not leave an cygwin stub around to deal with signals for non-cygwin > processes. > > The work around is to use bash to start the process. > > cgf > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Hi Jason, > > Hm, I´m seriously wondering if *anybody* did manage it to run under W98... > > Yes, many -- including myself. Now THAT´s good news! *phew* Ok I didn´t doubt it could, just asked myself if anyone still uses this OS (Old System) and hence care for > I'm sorry but your Cygwin installation seems broken. I would fix that > before trying PostgreSQL again. Hm, well this would be no problem - if I _knew_ what is wrong? And, I wouldn´t suspect something´s broken as I *just* installed cygwin from the internet (means updated - I hope update is ok, downloading everything twice would be no fun with isdn...) Well I could try it again but I´m - however - convinced that would be the same again, I didn´t change anything except putting the cygwin path in the PATH variable It´s just strange that the scripts don´t work, as if the environment "disappears" or whatever when starting a script But, eitherway, could you tell me if Postgresql will work on 98 (for me it´s a test/db-design period, no production use...) or if it´s not recommended since I´ve read that NT, W2K & XP are the only _supported_ platforms, and W98 isn´t but it may work...? Thanks for help! Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Hi! > 1. Are your cygwin mounts binary $ mount E:\cygwin\bin on /usr/bin type system (binmode) E:\cygwin\lib on /usr/lib type system (binmode) E:\cygwin on / type system (binmode) c: on /cygdrive/c type user (binmode,noumount) d: on /cygdrive/d type user (binmode,noumount) e: on /cygdrive/e type user (binmode,noumount) h: on /cygdrive/h type user (binmode,noumount) > 2. What shell is installed as /bin/sh bash (bash.exe) > For 1., "unmount /path" & "mount -b /resource /path" for every /path that > lists under "mount" command and it's textmode mounted would solve the problem. $ umount /usr/bin umount: /usr/bin: No such file or directory (???) Well, all paths are working, but when running a script several things just a) can´t be executed or b)can´t be found. This would be strange, because in the shell itself it works... Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Re^2: xdvi runtime error
On Thu, Mar 07, 2002 at 10:15:06AM -0500, Nicolae Santean wrote: > 1. Apparently, the heap_chunk_in_mb registry does not always tweak > the memory default limit for cygwin. Many people report this issue > and it actually happened to me as well. But, here's what I tried: > increased the value to 512Mb (instead of 256Mb - what I wanted) > and I finally got my 256Mb (sharp) increase. I guess I have to > set it to double what I want in order to get it (?). Ijust assume that your application needs other memory as well. > 2. I have fixed one of my xdvi problems: the error "setsid: Not owner" > is due to the fact that xdvi calls vfork(), if not instructed to do > otherwise. Apparently vfork() is not supported and I fixed the problem > by redefining vfork as fork. vfork() is supported but it's not really forking. Actually parent and child are running in the same process context. The Cygwin vfork() implementation is only meant to allow a exec(2) call without having to go through the fork() treadmill so this speeds up e.g. shells. If your application assumes to be able to do really cool stuff under vfork() conditions... don't use it in the Cygwin version. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re^2: xdvi runtime error
Nicolae, At 07:15 2002-03-07, Nicolae Santean wrote: >Thanks for your replay/advice . Let me share with you what I have >found on my side: > >1. Apparently, the heap_chunk_in_mb registry does not always tweak >the memory default limit for cygwin. Many people report this issue >and it actually happened to me as well. But, here's what I tried: >increased the value to 512Mb (instead of 256Mb - what I wanted) >and I finally got my 256Mb (sharp) increase. I guess I have to >set it to double what I want in order to get it (?). Are you sure you've analyzed this problem correctly? If you want to realloc() an N-byte block to size M, there's a transient need for approximately N+M bytes (while the content from the old block is being copied to the new one). If the realloc() size increment is small, then the transient memory demand is approximately 2*N. >2. I have fixed one of my xdvi problems: the error "setsid: Not owner" >is due to the fact that xdvi calls vfork(), if not instructed to do >otherwise. Apparently vfork() is not supported and I fixed the problem >by redefining vfork as fork. > >3. Now, that I have increased the cygwin memory limit, xdvi goes to >256Mb and dies there, so I guess I was right about this abnormal run. >I will try to follow the indication about fcntl(F_SETOWN) - thanks >for the advice. > >I found the same xdvi problem reported on the XFree86 mail list >- with no follow-ups. So, I'll keep digging. > >Thanks again, and if you find more related clues, please let me know. > >Nic. Santean Randall Schulz Mountain View, CA USA >>On Wed, Mar 06, 2002 at 10:32:38PM -0500, Nicolae Santean wrote: >> > >> > I believe that the 128 megabyte realloc failure is a consequence >> > (memory leak - maybe) of the other errors: >> > >> > "xdvi: fcntl F_SETOWN: Invalid argument", "setsid: Not owner" >> > >> > I am getting these errors first, and then I watch the memory being >> > slowly flooded. By no means xdvi should go to 128Mb. I suspect that >> > I have used wrong config/makefile settings during the make/install >> > and now xdvi is calling what it shouldn't. >> >>If xdvi is irritated by the result of fcntl(F_SETOWN) then you >>should tweak xdvi to not use it. F_SETOWN isn't supported by >>Cygwin. It always returns -1, errno = EINVAL. >> >>Corinna > >>Nicolae, > >>A 128 megabyte realloc fails? No kidding?? > >>There is a Cygwin-wide allocation limit that defaults, if I recall >>correctly, to 128 megabytes. There is a registry entry that overrides >this default called HEAP_CHUNK_IN_MB. > >>Here are the details, excerpted from an email by "Scott A. Hill" >><[EMAIL PROTECTED]> sent Tue, 3 Apr 2001 07:59:30 -0400: > >>-==- HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\ > >>Create a new DWORD value there called "heap_chunk_in_mb" that >>contains >the maximum amount of memory (in Mb) your application needs >>(watch the >>hex/decimal toggle). Exit and restart all cygwin applications. > >>The default is 128 (i.e. 128Mb) if no registry key is set. -==- > >>Good luck. > >>Randall Schulz Mountain View, CA USA > >>Hello, > >>I have recently compiled xdvi22.53 under cygwin1.3.9, but I am having >>problems running it. The runtime error is: > >xdvi: fcntl F_SETOWN: Invalid argument >- mktexpk --mfmode cx --bdpi 300 --mag 'magstep(0.5)' >--dpi 329 cmsl10 '>&3' >setsid: Not owner >xdvi: fcntl F_SETOWN: Invalid argument >xdvi: ! Out of memory (rellocating 134179459 bytes). > >>Any ideea abot what am I doing wrong? This may not be directly related >>to cygwin, case in which I appologize for intrusion. Nevertheless, if >>anybody has xdvi installed over cygwin and/or knows what's going on, >>please replay to either this mailing list or directly to me at: > >>[EMAIL PROTECTED] > >>Nick -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Corinna Vinschen wrote: > On Wed, Mar 06, 2002 at 01:56:07PM -0800, Andrew DeFaria wrote: > >>OK then, seems to me that su might be implementable by using a service >>that runs as SYSTEM and takes requests to switch user from user A to >>user B. Possible? >> > > Sure. It's exactly the way the user switch is implemented in 2K/XP. So then su can be implemented in Cygwin. > >>Regardless, to me it's still would be a large security hole if all one >>needs to do is: >> >>$ echo "+" > ~/.rhosts >> >>to be able to abuse rsh to do something under somebody else's user ID is >>it not? >> > > It's the same on U*X. If you don't care for the permissions of > your home directory you're out of luck. No it's not! As I've said repeatedly already a ~/.rhosts need not exist. Also, it does not seem to matter if my home directory is locked down or not. If user A wishs to login as user B and user A can create files in his own home directory (and even if he can't since the presence of ~usera/.rhosts is not required) all user A needs to do is use rsh with a -l userb parameter to execute commands as user B. This is not the same as on Unix. > And rsh is a dangerous service anyway. If you don't want it, > just remove the matching line in /etc/inetd.conf and use ssh. Ah but I *want* rsh. I just want it to work correctly. :-) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
At 10:44 AM 3/7/2002, Andrew DeFaria wrote: >>And rsh is a dangerous service anyway. If you don't want it, >>just remove the matching line in /etc/inetd.conf and use ssh. > > >Ah but I *want* rsh. I just want it to work correctly. :-) OK, that's fair. Sounds like you have your work cut out for you though! ;-) Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Thu, Mar 07, 2002 at 07:44:22AM -0800, Andrew DeFaria wrote: > Ah but I *want* rsh. I just want it to work correctly. :-) Patches gratefully accepted. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FW: Suggestion for setup
On Thu, Mar 07, 2002 at 09:28:53AM +0100, Bernard Dautrevaux wrote: >> -Original Message- >> From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] >> Sent: Wednesday, March 06, 2002 9:34 PM >> To: [EMAIL PROTECTED] >> Subject: Re: FW: Suggestion for setup >> >> >> On Wed, Mar 06, 2002 at 06:32:24PM +0100, Bernard Dautrevaux wrote: >> > Sorry, click on the wrong button and send a private mail to >> Corinna... :-) >> >> Unlikely since I'm using the mailing list address in my "From:" >> field. Just "reply" to my mailings and even Outlook sends >> only one message to the list... >> > >Yes, I've seen that, but too late :-) :) > >I was fooled by the fact even if the address was the one for the mailing >list, the in-clear name (that you must "open" to see what the address is) is >"Corinna Vinschen" ... 8-0 Corinna is saying that she really doesn't *want* personal email about cygwin. So, your using [EMAIL PROTECTED] is the right way to communicate with her. If anyone actually has her personal mail address in your address book, hopefully it is for communicating with her about non-cygwin issues. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin 1.3.10: kill gives spurious Not owner
On Thu, Mar 07, 2002 at 03:29:48PM -, Stephen Osborn wrote: >> /cygdrive/d/jdk1.3/bin/java is undoubtedly not a cygwin process >It is a bash script that runs a java program. >I would expect the bash script to catch and process the signal. > >Is this a mistaken assumption? > >> The work around is to use bash to start the process. >This is what I am doing. The script is only two lines long, viz: > >#!/bin/bash > >java -server -classpath >"./NewFlatFileAdapter.jar:$MERIDIAN_CLASSPATH" -Dmeridian.home="$MERIDIAN_HO >ME" com.misys.meridian.runtime.server.StartServer >ewFlatFileAdapter -logToScreen The below ps output indicates that the program is not being started by bash. You can see that it is using /bin/sh. If you have changed this and now start the program via bash then it should work. If it doesn't work, then I really don't know why. cgf >- Original Message - >From: Christopher Faylor <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Monday, March 04, 2002 7:10 PM >Subject: Re: cygwin 1.3.10: kill gives spurious Not owner > > >> On Mon, Mar 04, 2002 at 03:54:52PM -, Stephen Osborn wrote: >> >When using kill I get spurious "Not owner" messages, even though all >> >processes (reported by ps) are running as me. >> > >> >In the mailing list archives the only problems with kill seem to be >> >related to killing *other* users' processes. This is not what I am >> >doing. >> > >> >I am running Cygwin on NT. Cygcheck o/p at the bottom. >> > >> >I have a script (A) which runs another script (B) in a separate >> >process. B stores its PID and this is retrieved by the A. B also runs >> >another script (C) in a separate process. >> > >> >Script A tries to remove all of these processes in a housekeeping >> >exercise, by using ps, grep and script B's PID. >> > >> >This successfully kills script B but on script C a "Not owner" error is >> >thrown. >> > >> >This was working as expected (i.e. both B & C were killed) but this >> >changed a couple of days ago. >> > >> >I have modified script A to remove the kill command and after the run >> >ps gives >> > >> > PIDPPIDPGID WINPID TTY UIDSTIME COMMAND >> > 802 1 802802 con 1006 14:11:18 /usr/bin/bash >> >I 564 1 564564 con 1006 14:11:40 /usr/bin/bash >> > 831 11020 1034 con 1006 14:38:57 /usr/bin/sh >> > 920 8311020920 con 1006 Jan 1 >/cygdrive/d/jdk1.3/bin/java >> > 682 802 682571 con 1006 14:44:04 /usr/bin/ps >> > >> >Issuing kill 920 (=script C) yields >> >bash: kill: (920) - Not owner >> >> /cygdrive/d/jdk1.3/bin/java is undoubtedly not a cygwin process so it >> doesn't respond to cygwin signals. This is because recent versions of >> /bin/sh now use vfork()/exec() to start processes. vfork/exec does >> not leave an cygwin stub around to deal with signals for non-cygwin >> processes. >> >> The work around is to use bash to start the process. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re^3: xdvi runtime error
You may be right. I was just looking to the memory eaten by the xdvi process as reported by the W2K's task manager. The crash was occurring at 128Mb of allocated memory, and now occurs at 256Mb. Thanks for this clarification, and thanks Corinna for the explanation about vfork(). I hope I will be able to cleanly run xdvi before becoming an "under the hood" expert. Thanks folks! Nic. >>1. Apparently, the heap_chunk_in_mb registry does not always tweak >>the memory default limit for cygwin. Many people report this issue >>and it actually happened to me as well. But, here's what I tried: >>increased the value to 512Mb (instead of 256Mb - what I wanted) >>and I finally got my 256Mb (sharp) increase. I guess I have to >>set it to double what I want in order to get it (?). > >Are you sure you've analyzed this problem correctly? If you want to >realloc() an N-byte block to size M, there's a transient need for >approximately N+M bytes (while the content from the old block is being >copied to the new one). If the realloc() size increment is small, then the >transient memory demand is approximately 2*N. >vfork() is supported but it's not really forking. Actually parent >and child are running in the same process context. The Cygwin vfork() >implementation is only meant to allow a exec(2) call without having to >go through the fork() treadmill so this speeds up e.g. shells. >If your application assumes to be able to do really cool stuff under >vfork() conditions... don't use it in the Cygwin version. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
New suggestion for setup, binary/dos-mode
Hello! Looking at the Xfree mailinglist it seems like many people have problems due to have installed with dos-mode. My thought is if it is their unsurability about unix/dos, and toggling that due to that.. Is it possible to hide it a little.. or similar, so it is not so easy to toggle.. Or just us needing to tell the users more... Is it used anyhow?? /Andy -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Tom, On Thu, Mar 07, 2002 at 04:38:48PM +0100, Tom Lauren wrote: > But, eitherway, could you tell me if Postgresql will work on 98 (for me it´s a > test/db-design period, no production use...) or if it´s not recommended since > I´ve read that NT, W2K & XP are the only _supported_ platforms, and W98 isn´t > but it may work...? For your intended use, it should be fine -- others on the pgsql-cygwin list seem to do exactly this. Personally, I only ran PostgreSQL under Windows 98 for about 5 minutes and it seemed OK -- YMMV. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Hello again, Could it be that the 1st line in initdb: #!/bin/sh.exe doesn´t fit an i´ll have to write #!/bin/bash.exe instead? Please no, else I would have been stupid ;) Can´t test it right now, just wanted to post it as it may be important... I´m obviously feeling that i´ll have to replace it, but where does sh.exe come from then? I only installed bash..*strange*...or is it already mapped somehow to "bash.exe"? Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] Updated: OpenSSH-3.1p1-1
I've updated the version of OpenSSH in cygwin/latest to 3.1p1-1. This is a major release. It fixes also a security problem which affects all versions of OpenSSH up to version 3.0.2. Important Changes: == - /etc/ssh/ now default directory for keys and configuration files - ssh-keygen no longer defaults to a specific key type (rsa1); use ssh-keygen -t {rsa,dsa,rsa1} - sshd x11 forwarding listens on localhost by default; see sshd X11UseLocalhost option to revert to prior behaviour if your older X11 clients do not function with this configuration Other Changes: == - ssh ~& escape char functions now for both protocol versions - sshd ReverseMappingCheck option changed to VerifyReverseMapping to clarify its function; ReverseMappingCheck can still be used - public key fingerprint is now logged with LogLevel=VERBOSE - reason logged for disallowed logins (e.g., no shell, etc.) - more robust error handling for x11 forwarding - improved packet/window size handling in ssh2 - use of regex(3) has been removed - fix SIGCHLD races in sshd (seen on Solaris) - sshd -o option added - sftp -B -R -P options added - ssh-add now adds all 3 default keys - ssh-keyscan bug fixes - ssh-askpass for hostkey dialog - fix fd leak in sshd on SIGHUP - TCP_NODELAY set on X11 and TCP forwarding endpoints To update your installation, click on the "Install Cygwin now" link on the http://sources.redhat.com/cygwin web page. This downloads setup.exe to your system. The, run setup and answer all of the questions. Note that we do not allow downloads from sources.redhat.com (aka cygwin.com) due to bandwidth limitations. This means that you will need to find a mirror which has this update. In the US, ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin/ is a reliable high bandwidth connection. In Germany, ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus/ is usually pretty good. In the UK, http://programming.ccp14.ac.uk/ftp-mirror/programming/cygwin/pub/cygwin/ is usually up-to-date within 48 hours. If one of the above doesn't have the latest version of this package then you can either wait for the site to be updated or find another mirror. If you have questions or comments, please send them to the Cygwin mailing list at: [EMAIL PROTECTED] . I would appreciate if you would use this mailing list rather than emailing me directly. This includes ideas and comments about the setup utility or Cygwin in general. If you want to make a point or ask a question the Cygwin mailing list is the appropriate place. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe to the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: FW: Suggestion for setup
> -Original Message- > From: Christopher Faylor [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 07, 2002 5:04 PM > To: [EMAIL PROTECTED] > Subject: Re: FW: Suggestion for setup > > > On Thu, Mar 07, 2002 at 09:28:53AM +0100, Bernard Dautrevaux wrote: > >> -Original Message- > >> From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] > >> Sent: Wednesday, March 06, 2002 9:34 PM > >> To: [EMAIL PROTECTED] > >> Subject: Re: FW: Suggestion for setup > >> > >> > >> On Wed, Mar 06, 2002 at 06:32:24PM +0100, Bernard Dautrevaux wrote: > >> > Sorry, click on the wrong button and send a private mail to > >> Corinna... :-) > >> > >> Unlikely since I'm using the mailing list address in my "From:" > >> field. Just "reply" to my mailings and even Outlook sends > >> only one message to the list... > >> > > > >Yes, I've seen that, but too late :-) :) > > > >I was fooled by the fact even if the address was the one for > the mailing > >list, the in-clear name (that you must "open" to see what > the address is) is > >"Corinna Vinschen" ... 8-0 > > Corinna is saying that she really doesn't *want* personal email about > cygwin. So, your using [EMAIL PROTECTED] is the right way to > communicate with her. > > If anyone actually has her personal mail address in your address book, > hopefully it is for communicating with her about non-cygwin issues. No, I don't have Corinna's address in my address book. If you look at the header from her mails you see that the mailto:[EMAIL PROTECTED] is preceded by "Corinna Vinschen", and some browser will ONLY display this, not the effective address, unless you specifically want to check the address... So my error thinking I've sent personal e-mail to her, while in fact I've sent it to the list. Hopefully it was not the other way round for some "personal" message :-) :) :) :) Bernard PS: something I don't fully understand, but I think it's related to the "Reply-To:" header field, is that you have the same setup, but when replying to you I'm replying to "[EMAIL PROTECTED]" (not "Christopher Faylor" or "Christopher Faylor [[EMAIL PROTECTED]]" as your "From:" field is displayed), while Corinna's mails have "Corinna Vinschen [[EMAIL PROTECTED]]" in their "From:" field, but when hitting Reply (or Reply all) the "To:" field of my message is "Corinna Vinschen" ... Internet mysteries? :-) Bernard Dautrevaux Microprocess Ingenierie 97 bis, rue de Colombes 92400 COURBEVOIE FRANCE Tel:+33 (0) 1 47 68 80 80 Fax:+33 (0) 1 47 88 97 85 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[ANNOUNCEMENT] OpenSSH Security Advisory (adv.channelalloc)
1. Systems affected: All versions of OpenSSH between 2.0 and 3.0.2 contain an off-by-one error in the channel code. OpenSSH 3.1 and later are not affected. 2. Impact: This bug can be exploited locally by an authenticated user logging into a vulnerable OpenSSH server or by a malicious SSH server attacking a vulnerable OpenSSH client. 3. Solution: Upgrade to OpenSSH 3.1 or apply the following patch. 4. Credits: This bug was discovered by Joost Pol <[EMAIL PROTECTED]> Appendix: Index: channels.c === RCS file: /cvs/src/usr.bin/ssh/channels.c,v retrieving revision 1.170 retrieving revision 1.171 diff -u -r1.170 -r1.171 --- channels.c 27 Feb 2002 21:23:13 - 1.170 +++ channels.c 4 Mar 2002 19:37:58 - 1.171 @@ -146,7 +146,7 @@ { Channel *c; - if (id < 0 || id > channels_alloc) { + if (id < 0 || id >= channels_alloc) { log("channel_lookup: %d: bad id", id); return NULL; } -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FW: Suggestion for setup
On Thu, Mar 07, 2002 at 05:49:29PM +0100, Bernard Dautrevaux wrote: > PS: something I don't fully understand, but I think it's related to the > "Reply-To:" header field, is that you have the same setup, but when replying > to you I'm replying to "[EMAIL PROTECTED]" (not "Christopher Faylor" or > "Christopher Faylor [[EMAIL PROTECTED]]" as your "From:" field is > displayed), while Corinna's mails have "Corinna Vinschen > [[EMAIL PROTECTED]]" in their "From:" field, but when hitting Reply (or > Reply all) the "To:" field of my message is "Corinna Vinschen" ... Internet > mysteries? :-) Chris has his "Reply-To:" set, I don't have. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
Tom, On Thu, Mar 07, 2002 at 05:51:29PM +0100, Tom Lauren wrote: > I´m obviously feeling that i´ll have to replace it, but where does > sh.exe come from then? I only installed bash..*strange*...or is it > already mapped somehow to "bash.exe"? No, install the ash package. /bin/sh "should" be ash not bash. Does this fix your Cygwin setup? Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Andrew, On Thu, Mar 07, 2002 at 07:44:22AM -0800, Andrew DeFaria wrote: > Corinna Vinschen wrote: > >And rsh is a dangerous service anyway. If you don't want it, > >just remove the matching line in /etc/inetd.conf and use ssh. > > Ah but I *want* rsh. I just want it to work correctly. :-) Could this be the cause? http://sources.redhat.com/ml/cygwin/2001-01/msg01052.html Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: KDE under cygwin?
On Thu, Mar 07, 2002 at 09:43:05AM +0100, Ralf Habacker wrote: >> Is anyone using KDE, KOffice, (especially) >> KDevelop with Cygwin? I assume it >> would need the qt library. Is this all workable? >> >Look at http://kde-cygwin.sourceforge.net. There are alpha >releases of some kde packages And this is the wrong mailing list for discussing KDE. cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Blackbox ?
On Thu, Mar 07, 2002 at 03:34:05PM +0100, Rick Oosterling wrote: >Anybody know where to download this windowsmanager ? > >The original site is up but the download links are down :-( > >Thanks Wrong mailing list. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Suggestion for setup
Hi, Christopher Faylor <[EMAIL PROTECTED]> writes: > I guess the best solution is to present the user with several options > > 1) Create /etc/passwd using local accounts? > > 2) Create /etc/passwd using domain accounts? > > 3) Create /etc/passwd using local and domain accounts? > > 4) Don't create /etc/passwd This approach would solve the problems with huge domains. But here with me there is another issue which would render a simple selection based on say radio buttons (or so) rather useless. This is because my desktop machine belongs to another domain ('Computer domain' under w2k) than my user account ('User domain'). 'mkpasswd -d' uses the computer domain by default (which is probably as sensible as using the user domain by default under certain conditions; I don't know). I have to use 'mkpasswd -d USERDOMAIN -u SOMEUSERNAME' to make mkpasswd do what I want. Facing all the possible combinations of domains and non-domains I would see three approaches: 1) Make the setup very complicated to allow users to specify all or many possible combinations (like one or more domain names and one or more usernames) to satisfy all or most users, but with non-trivial usage and non-trivial implementation. 2) Make a setup with medium comlexity (for example like Mr. Faylor suggests), which is not so hard to implement and use, but which may leave the user with a 'broken' /etc/passwd (or rather with a /etc/passwd which doesn't match the user's expectation when she selects to make setup query the domain) 3) Leave it as it is. It seems to me that 'mkpasswd -l' is a minimal compromise. It's easy to use, already implemented and if you want domain accounts in your cygwin setup, it is well documented how to achieve that. If the user then runs 'mkpasswd -l -d > /etc/passwd', as I did yesterday, the user is likely to look at /etc/passwd afterwards to ensure that the setup is what she expected it to be. If this is not the case (as with me) she will start to ask the mailing list or something and will get the needed answer in short time. I would opt for alternative three, YMMV. Besides I have a related question: My domain username is the same as my local username, say 'userxyz'. Now I have two entries in /etc/passwd with username 'userxyz'. I assume that always the first (the domain account) is used regardless whether I logged into windoze with my local or my domain account. Is this assumption correct? Is it considered harmful to have two user accounts with the same name within cygwin? OTOH, if I understand the net-ug right, in /etc/passwd I can just change the name 'Administrator' to 'root' and whenever I log into windoze as 'Administrator' I will be called 'root' within cygwin. Is that correct? If so, can I just rename the second entry with 'userxyz' within /etc/passwd to something else and will then be called this something else within cygwin when I log into windoze using my local account? Or what other approach would be advisable? TIA, andreas -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Updated: OpenSSH-3.1p1-1
--On Thursday, March 07, 2002 5:49 PM +0100 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > - /etc/ssh/ now default directory for keys and configuration files I've just updated my local copy of OpenSSH, however my keys and configuration files still appear in /etc. I also ran the script ssh-host-config again, as the openssh-3.1p1-1.README indicates: > If you are updating your installation you may run the above > ssh-host-config as well to move your configuration files to > the new location and to erase the files at the old location. However, the ssh-host-config script is still using /etc also: # Directory where the config files are stored SYSCONFDIR=/etc # Subdirectory where an old package might be installed OLDPREFIX=/usr/local OLDSYSCONFDIR=${OLDPREFIX}/etc So, it looks like the ssh-host-config script needs to be updated to move files from both /usr/local/etc and /etc to /etc/ssh. The readme also needs to reference /etc/ssh. Thanks, Alan -- Alan Dobkin Senior Systems Administrator Nortel Networks / Alteon WebSystems -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
On Thu, Mar 07, 2002 at 12:29:11PM -0500, Jason Tishler wrote: > Andrew, > > On Thu, Mar 07, 2002 at 07:44:22AM -0800, Andrew DeFaria wrote: > > Corinna Vinschen wrote: > > >And rsh is a dangerous service anyway. If you don't want it, > > >just remove the matching line in /etc/inetd.conf and use ssh. > > > > Ah but I *want* rsh. I just want it to work correctly. :-) > > Could this be the cause? > > http://sources.redhat.com/ml/cygwin/2001-01/msg01052.html It is. So, if somebody changes the pw_passwd field (which should contain the "unused on nt/2k/xp" entry, rsh behaves exactly is it does on a U*X system if a user has no password entry. Good to know. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
vt320 and Cygwin
Heyo. At work, we use Kermit95 to telnet from our Windows machines (all flavors) to our AIX box. Has to do with vt320 and function key functionality, from what I've been told. I came up with the idea of using Cygwin's telnet to telnet in with vt320. Unfortunately, the default Cygwin installation doesn't seem to put a vt320 section in /etc/termcap. Has anyone tried it? = Hey! That's my princess! Go find your own! Adam Miller [EMAIL PROTECTED] http://www.geocities.com/gaivs_petronivs __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Updated: OpenSSH-3.1p1-1
--On Thursday, March 07, 2002 12:55 PM -0500 Alan Dobkin <[EMAIL PROTECTED]> wrote: > --On Thursday, March 07, 2002 5:49 PM +0100 Corinna Vinschen > <[EMAIL PROTECTED]> wrote: > >> - /etc/ssh/ now default directory for keys and configuration files > > ... it looks like the ssh-host-config script needs to be > updated to move files from both /usr/local/etc and /etc > to /etc/ssh. The readme also needs to reference /etc/ssh. Upon further inspection, it looks like this "important change" has not been made at all in this Cygwin build. All of the man pages and binaries still refer to the default directory as /etc instead of /etc/ssh, and my existing configuration still works. Alan -- Alan Dobkin Senior Systems Administrator Nortel Networks / Alteon WebSystems -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Can't create home directory
Hi, I'm trying to install cygwin to test the openssh server. I have had it on my machine before and removed it, and am trying to install it again. I believe I have gone through all the correct steps for uninstallation (registry entries, environment variables and the like), but now, whenever I install, I get errors as soon as I try to execute bash, saying that Administrator does not have permissions to create /home/Administrator. I have tried changing ownership to 544:544, opening everything to 777, setting the directory open to Everyone in Windows, but nothing seems to work. Does anyone have any ideas what might be wrong? I have tried to search the archives, but could not find any entries. Thanks in advance Winston Gutkowski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Telneting/ftping to cygwin
No I just cleared out all 3 event logs and tried it again and nothing... Louis At 03:11 PM 3/7/2002 +0100, you wrote: >On Thu, Mar 07, 2002 at 08:22:37AM -0500, Louis Bohm wrote: > > I just did a compleat reinstall of cygwin from scratch on my win2k > > machine. Before I had it setup to allow me to telnet and ftp to my > machine > > using cygwin. Now I am unable to. > > > > I have run inetd.exe --install-as-service and I have the cygwin variable > > setup as tty title glob ntea binmode. When I telnet in I get: > > [lbohm@YODA:/usr/doc/Cygwin] > telnet yoda > > Trying 192.233.225.228... > > Connected to yoda. > > Escape character is '^]'. > > Connection closed by foreign host. > > Where yoda is the name of my win2k host. The above tells me that > > in.telnetd is running but that something else is stopping it. I do not > see > > a hosts.allow or a hosts.deny anywhere. > > > > What am I missing to get this working?? > >Any hint in the event log? > >Corinna > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Developermailto:[EMAIL PROTECTED] >Red Hat, Inc. > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ ¤°`°Lightbridge, Inc ¤°`°67 South Bedford St. ¤°`°Burlington MA 01832 ¤°`°781.359.4795 mailto:[EMAIL PROTECTED] ¤°`°http://www.lightbridge.com ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Can't create home directory
To answer your questions in turn: / is c:\cygwin, I would assume therefore that /home is c:\cygwin\home and, yes, I am a domain user. The odd thing is I've had cygwin working on my machine before with no problems. Is this passwd change a new requirement? To my knowledge, the only change I made, at the suggestion of Michael Erdely's SSHD setup page (http://tech.erdelynet.com/cygwin-sshd.asp) was to change the CYGWIN variable to "ntsec tty" (was just "tty"). He seems to suggest that this is the best setting for W2K with NTFS, although I have no idea what the "ntsec" means. Winston -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Markebo Sent: Thursday, March 07, 2002 10:44 To: Winston Gutkowski Subject: Re: Can't create home directory Where is /, /home, and are you on a domain, or it is local users?? If domain, you should probably upgrade the /etc/passwd as stated in the faq somewhere.. /Andy / "Winston Gutkowski" <[EMAIL PROTECTED]> wrote: | Hi, | | I'm trying to install cygwin to test the openssh server. I have had it on my | machine before and removed it, and am trying to install it again. I believe | I have gone through all the correct steps for uninstallation (registry | entries, environment variables and the like), but now, whenever I install, I | get errors as soon as I try to execute bash, saying that Administrator does | not have permissions to create /home/Administrator. | | I have tried changing ownership to 544:544, opening everything to 777, | setting the directory open to Everyone in Windows, but nothing seems to | work. Does anyone have any ideas what might be wrong? I have tried to search | the archives, but could not find any entries. | | Thanks in advance | | Winston Gutkowski | | | -- | Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple | Bug reporting: http://cygwin.com/bugs.html | Documentation: http://cygwin.com/docs.html | FAQ: http://cygwin.com/faq/ | | -- The eye of the beholder rests on the beauty! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Telneting/ftping to cygwin
On Thu, Mar 07, 2002 at 01:51:32PM -0500, Louis Bohm wrote: > No I just cleared out all 3 event logs and tried it again and nothing... Uhm, you wrote that you installed inetd... but did you actually start the service? Installing != starting. Or even better, set your system env variables as described in /usr/doc/Cygwin/inetutils-1.3.2.README and reboot. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Updated: OpenSSH-3.1p1-1
On Thu, Mar 07, 2002 at 01:32:20PM -0500, Alan Dobkin wrote: > --On Thursday, March 07, 2002 12:55 PM -0500 Alan Dobkin <[EMAIL PROTECTED]> > wrote: > > > --On Thursday, March 07, 2002 5:49 PM +0100 Corinna Vinschen > > <[EMAIL PROTECTED]> wrote: > > > >> - /etc/ssh/ now default directory for keys and configuration files > > > > ... it looks like the ssh-host-config script needs to be > > updated to move files from both /usr/local/etc and /etc > > to /etc/ssh. The readme also needs to reference /etc/ssh. > > Upon further inspection, it looks like this "important change" > has not been made at all in this Cygwin build. All of the man > pages and binaries still refer to the default directory as /etc > instead of /etc/ssh, and my existing configuration still works. Sure. The Cygwin announcement is reproducing the original OpenSSH announcement. The Cygwin build is still using the original paths. I don't intend to change that in the near future. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: FW: Suggestion for setup
Hi Corinna, Looks like you are the developer for cygwin. I need to use some windows graphics library with my g77 compiled program in cygwin. I posted it previosly and did not get any response. I am trying to use windows library specifically graphics library for plotting from my cygwin program. I need to use windows routines like: GETWINDOWCONFIG, DFLIB, SETCOLORRGB, $GCLEARSCREEN. I have a folder wich is called visual. How to go about linking the required windows VISUAL FORTRAN libraries which will serve my purpose? What kind of link comands I need in my makefile? I have a makefile like this- all these routines require, a windows library to compile. INSTALL = /usr/sbin/install LIBRARY = ../lib/libcass.a MAKEFILE = Makefile OBJS= adv_frmv.o \ chr_wth.o \ clr_boxv.o \ intensv.o \ movev.o \ new_pltv.o \ newx.o \ newy.o \ ntl_setv.o \ plt_clrv.o \ pltv.o \ rgb_clrv.o \ rst_pltv.o \ set_c~38.o \ set_clrv.o \ set_fntv.o \ set_wthv.o \ symbolv.o IGNORE_OBJS = visual.o \ PRINT = pr SHELL = /usr/bin/sh SRCS= adv_frmv.f \ chr_wth.f \ clr_boxv.f \ intensv.f \ movev.f \ new_pltv.f \ newx.f \ newy.f \ ntl_setv.f \ plt_clrv.f \ pltv.f \ rgb_clrv.f \ rst_pltv.f \ set_c~38.f \ set_clrv.f \ set_fntv.f \ set_wthv.f \ symbolv.f SYSHDRS = .o.a:; ar rv $@ $*.o .PRECIOUS: $(LIBRARY) all:$(LIBRARY) checkout: @co Makefile $(SRCS) $(HDRS) checkin: @ci -t-"Make Checkin" Makefile $(SRCS) $(HDRS) *.t library:$(OBJS) @echo "Loading $(LIBRARY) ..." ar rv $(LIBRARY) $(OBJS) @echo "done" $(LIBRARY): $(LIBRARY)($(OBJS)) # $(RANLIB) $@ clean:; @rm -f $(OBJS) core clobber:; @rm -f $(OBJS) $(LIBRARY) core tags depend:;@mkmf -f $(MAKEFILE) ROOT=$(ROOT) echo:; @echo $(HDRS) $(SRCS) extract:; @ar x $(DEST)/$(LIBRARY) index:; @ctags -wx $(HDRS) $(SRCS) install:$(LIBRARY) @echo Installing $(LIBRARY) in $(DEST) # @if [ $(DEST) != . ]; then \ # (rm -f $(DEST)/$(LIBRARY); $(INSTALL) -f $(DEST) $(LIBRARY)); fi print:; @$(PRINT) $(HDRS) $(SRCS) tags: $(HDRS) $(SRCS); @etags $(HDRS) $(SRCS) ### I hope you will help me Corinna. Thanks, Dilip Paul email: [EMAIL PROTECTED] -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 07, 2002 12:13 PM To: cygwin Subject: Re: FW: Suggestion for setup On Thu, Mar 07, 2002 at 05:49:29PM +0100, Bernard Dautrevaux wrote: > PS: something I don't fully understand, but I think it's related to the > "Reply-To:" header field, is that you have the same setup, but when replying > to you I'm replying to "[EMAIL PROTECTED]" (not "Christopher Faylor" or > "Christopher Faylor [[EMAIL PROTECTED]]" as your "From:" field is > displayed), while Corinna's mails have "Corinna Vinschen > [[EMAIL PROTECTED]]" in their "From:" field, but when hitting Reply (or > Reply all) the "To:" field of my message is "Corinna Vinschen" ... Internet > mysteries? :-) Chris has his "Reply-To:" set, I don't have. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login: no shell: /bin/bash: Permission denied
Andrew, On Thu, Mar 07, 2002 at 10:34:42AM -0800, Andrew DeFaria wrote: > Please do not email me directly - keep it only on the list. Hmm...didn't you just do a reply all? Or, was that to make a point? Sorry, but hitting "g" is just more natural than hitting "L" for me. If this is important to you, then please indicate this by setting your Reply-To. My mailer will honor your preference. Alternatively, I suggest using sometime like procmail to suppress dups. This is the technique that I use and I don't see any dups (unless I want to). > Jason Tishler wrote: > Could this be the cause? > > http://sources.redhat.com/ml/cygwin/2001-01/msg01052.html > > Ah! Good catch! Part of my setup scripts create a global password file. In > that script I removed the "unused_by_nt/2000/xp" from the passwd file and > left it blank. I guess it's not truly "unused"! I'm glad to be of assistance. Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Telneting/ftping to cygwin
Yes the service starts automatically. I checked. I also looked at the readme and set cygwin=binmode tty ntsec and rebooted. Same result. Louis At 08:12 PM 3/7/2002 +0100, you wrote: >On Thu, Mar 07, 2002 at 01:51:32PM -0500, Louis Bohm wrote: > > No I just cleared out all 3 event logs and tried it again and nothing... > >Uhm, you wrote that you installed inetd... but did you actually >start the service? Installing != starting. > >Or even better, set your system env variables as described >in /usr/doc/Cygwin/inetutils-1.3.2.README and reboot. > >Corinna > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Developermailto:[EMAIL PROTECTED] >Red Hat, Inc. > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ ¤°`°Lightbridge, Inc ¤°`°67 South Bedford St. ¤°`°Burlington MA 01832 ¤°`°781.359.4795 mailto:[EMAIL PROTECTED] ¤°`°http://www.lightbridge.com ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
login/ cygwin startup error
0 [main] bash -3340 sync_with_child: child 1556(0x64C) died before initial ization with status code 0x0 10517 [main] bash -3340 sync_with_child: *** child state waiting for longjmp bash: fork: Resource temporarily unavailable mayhap I've forgotten something on the setup but I saw no refference to this. running on winXP pro on a amd Thunderbird. any help would be appreciated. -- "The most difficult thing in the world is to know how to do a thing and to watch someone else do it wrong without comment." -- Theodore H. White -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Telneting/ftping to cygwin
I was just thinking... Previously I had also installed the win2k option pack. Though I did not have the ftpserver or the telnet server running. I only installed it to have a web server. This time when I rebuilt my machine I did not install the option pack. That should not make a difference. Louis At 08:12 PM 3/7/2002 +0100, you wrote: >On Thu, Mar 07, 2002 at 01:51:32PM -0500, Louis Bohm wrote: > > No I just cleared out all 3 event logs and tried it again and nothing... > >Uhm, you wrote that you installed inetd... but did you actually >start the service? Installing != starting. > >Or even better, set your system env variables as described >in /usr/doc/Cygwin/inetutils-1.3.2.README and reboot. > >Corinna > >-- >Corinna Vinschen Please, send mails regarding Cygwin to >Cygwin Developermailto:[EMAIL PROTECTED] >Red Hat, Inc. > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ ¤°`°Lightbridge, Inc ¤°`°67 South Bedford St. ¤°`°Burlington MA 01832 ¤°`°781.359.4795 mailto:[EMAIL PROTECTED] ¤°`°http://www.lightbridge.com ¤¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login/ cygwin startup error
At 02:56 PM 3/7/2002, Joel wrote: > 0 [main] bash -3340 sync_with_child: child 1556(0x64C) died before >initial >ization with status code 0x0 > 10517 [main] bash -3340 sync_with_child: *** child state waiting for >longjmp >bash: fork: Resource temporarily unavailable > >mayhap I've forgotten something on the setup but I saw no refference to >this. > >running on winXP pro on a amd Thunderbird. > >any help would be appreciated. Check that there is only 1 cygwin1.dll on your system and that it is in usr/bin under the directory where you installed Cygwin. Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: FW: Suggestion for setup
On Thu, Mar 07, 2002 at 02:43:43PM -0500, Paul Dilip K NPRI wrote: > Hi Corinna, > Looks like you are the developer for cygwin. I need to use some windows graphics >library with my g77 compiled program in cygwin. I posted it previosly and did not get >any response. I'm not *the* developer but just *one* developer of Cygwin. And I've no expertise related to g77 and linking with foreign (non-Cygwin) libraries. If you didn't get a response then probably because nobody had an answer to your problem. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developermailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Confused, need help
Hey Gang, Need a bit of help. I am trying to do a fresh install of the latest net release. I am removing the C:\cygwin directory, deleting the registry keys, icons, and start menu options. I can't find anything on setup's "temporary working directory" so I don't know where to delete there. This is an NT 4.0 machine, I can't give you cygcheck output as I have currently deleted cygwin from the system. However, when I run setup again, several of the packages (all of which were previously installed at the current version, ie if installed would not need updating) are showing up as "skip" in the dialog. I have run through several attempts to remove and re-install none of which get it all right. Anyone have any idea what I am missing or where setup is finding this version information? -- Prentis Brooks | [EMAIL PROTECTED] | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Can't create home directory
Hi all, I think I may have answered my own question. It would appear that my problem DOES have something to do with setting CYGWIN to "ntsec tty". I'm reading the blurb now (http://www.cygwin.com/cygwin-ug-net/ntsec.html) and will post anything I find which might be useful to neophytes like myself. Thanks for all feedback Winston Gutkowski -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Winston Gutkowski Sent: Thursday, March 07, 2002 11:09 To: Cygwin; Andrew Markebo Subject: RE: Can't create home directory To answer your questions in turn: / is c:\cygwin, I would assume therefore that /home is c:\cygwin\home and, yes, I am a domain user. The odd thing is I've had cygwin working on my machine before with no problems. Is this passwd change a new requirement? To my knowledge, the only change I made, at the suggestion of Michael Erdely's SSHD setup page (http://tech.erdelynet.com/cygwin-sshd.asp) was to change the CYGWIN variable to "ntsec tty" (was just "tty"). He seems to suggest that this is the best setting for W2K with NTFS, although I have no idea what the "ntsec" means. Winston -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Andrew Markebo Sent: Thursday, March 07, 2002 10:44 To: Winston Gutkowski Subject: Re: Can't create home directory Where is /, /home, and are you on a domain, or it is local users?? If domain, you should probably upgrade the /etc/passwd as stated in the faq somewhere.. /Andy / "Winston Gutkowski" <[EMAIL PROTECTED]> wrote: | Hi, | | I'm trying to install cygwin to test the openssh server. I have had it on my | machine before and removed it, and am trying to install it again. I believe | I have gone through all the correct steps for uninstallation (registry | entries, environment variables and the like), but now, whenever I install, I | get errors as soon as I try to execute bash, saying that Administrator does | not have permissions to create /home/Administrator. | | I have tried changing ownership to 544:544, opening everything to 777, | setting the directory open to Everyone in Windows, but nothing seems to | work. Does anyone have any ideas what might be wrong? I have tried to search | the archives, but could not find any entries. | | Thanks in advance | | Winston Gutkowski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
remote debugging
Hi, I asked this question here a couple months ago but did not receive a reply... just trying again ... Is there a way to remote debug to a cygwin box? I assume gdbserver would be used for this. However gdbserver doesn't come with cygwin, and I haven't been able to compile it from sources. My original post, with more details on what I've tried, is here: http://sources.redhat.com/ml/cygwin/2001-12/msg00365.html http://sources.redhat.com/ml/cygwin/2001-12/msg00367.html Any ideas? I am surprised that nobody (apparently) does remote debugging with cygwin. It is much needed when developing certain full-screen apps. Thanks, Matt __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: remote debugging
On Thu, Mar 07, 2002 at 09:17:37PM +, Matt Sykes wrote: >I asked this question here a couple months ago but did not receive a >reply... just trying again ... > >Is there a way to remote debug to a cygwin box? No. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: /cygdrive wierdness
> > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > Using Cygwin DLL 1.3.10. > > Likewise. (On Win2K.) > > > 1. Close all Cygwin programs > > 2. Open bash > > 3. Type: cd /cygdrive > > 4. Type ls > > I get a listing of C:\ instead > > 5. Type bash > > 6. Type: cd /cygdrive > > 7. Type ls > > I get a listing of available drives as I should. > > > > Can someone else confirm this is a problem? > > Not here. I get the list of drives always. Are you sure you closed all Cygwin programs? If so, it must be a quirk of my system. Chris -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: login/ cygwin startup error
- Original Message - From: "Larry Hall (RFK Partners, Inc)" <[EMAIL PROTECTED]> To: "Joel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 3:13 PM Subject: Re: login/ cygwin startup error > At 02:56 PM 3/7/2002, Joel wrote: > > 0 [main] bash -3340 sync_with_child: child 1556(0x64C) died before > >initial > >ization with status code 0x0 > > 10517 [main] bash -3340 sync_with_child: *** child state waiting for > >longjmp > >bash: fork: Resource temporarily unavailable > > > >mayhap I've forgotten something on the setup but I saw no refference to > >this. > > > >running on winXP pro on a amd Thunderbird. > > > >any help would be appreciated. > > > Check that there is only 1 cygwin1.dll on your system and that it is in > usr/bin under the directory where you installed Cygwin. > > There was an extra copy in a tmp directory I deleted it and reinstalled Cygwin from the setup program, still getting the same error. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
grap-1.10
I downloaded http://www.lunabase.org/~faber/Vault/software/grap/grap-1.10.tar.gz and within Cygwin, after unwrapping it, I ran the commands ./configure make make install The implementation seems to have worked just fine: by this I mean (i) there were no errors reported during the make described above and (ii) everything I try running that uses grap, works. So that's good. But it isn't a Cygwin-supplied grap, so has none of the assurance that one has come to expect with the Cygwin provision. Is there some "test" I can try which would enable me to upgrade the assessment from "seems to work" to "works"? Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: New suggestion for setup, binary/dos-mode
> -Original Message- > From: Andrew Markebo [mailto:[EMAIL PROTECTED]] > Sent: Friday, March 08, 2002 3:42 AM > To: [EMAIL PROTECTED] > Subject: New suggestion for setup, binary/dos-mode > > > Hello! > > Looking at the Xfree mailinglist it seems like many people > have problems due to have installed with dos-mode. My thought > is if it is their unsurability about unix/dos, and toggling > that due to that.. > > Is it possible to hide it a little.. or similar, so it is not > so easy to toggle.. Or just us needing to tell the users more... I think it's due to XFree86 being only partially ported. Fully ported software works correctly on BOTH text and bin mounted drives. > Is it used anyhow?? Absolutely - that's why you keep getting complaints and confusion. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
"Tom Lauren" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > For example: > CMDNAME=`basename $0` -->says : not found. But, as c.-l. it works.?! It > can´t do the command in `´? > > Or: > stty -echo > /dev/null 2>&1 -->doesn´t recognize at all > Tom, It sounds like the subsequent invoking of the shell isn't getting the proper environment passed to it. What happens when you do this: $ set > main_env.txt $ bash $ set > child_env.txt $ exit $ diff main_env.txt child_env.txt Regards, Shelby Cain -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: /cygdrive wierdness
> From: Chris January [mailto:[EMAIL PROTECTED]] > > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > Using Cygwin DLL 1.3.10. > > > > Likewise. (On Win2K.) > > > > > 1. Close all Cygwin programs > > > 2. Open bash > > > 3. Type: cd /cygdrive > > > 4. Type ls > > > I get a listing of C:\ instead > > > 5. Type bash > > > 6. Type: cd /cygdrive > > > 7. Type ls > > > I get a listing of available drives as I should. > > > > > > Can someone else confirm this is a problem? > > > > Not here. I get the list of drives always. > Are you sure you closed all Cygwin programs? Yes. I just tried it again after rebooting to make sure. (My drive prefix is /win instead of /cygdrive, but I don't suppose that would make any difference.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Confused, need help
- Original Message - From: "Prentis Brooks" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 07, 2002 12:51 Subject: Confused, need help > Hey Gang, > > Need a bit of help. I am trying to do a fresh install of the latest net > release. I am removing the C:\cygwin directory, deleting the registry > keys, icons, and start menu options. I can't find anything on setup's > "temporary working directory" so I don't know where to delete there. Setup doesn't use a temporary working directory. > This is an NT 4.0 machine, I can't give you cygcheck output as I have > currently deleted cygwin from the system. However, when I run setup > again, several of the packages (all of which were previously installed > at the current version, ie if installed would not need updating) are > showing up as "skip" in the dialog. I have run through several attempts > to remove and re-install none of which get it all right. Anyone have > any idea what I am missing or where setup is finding this version > information? Any packages that have never been installed default to 'skip' for installing. If you deleted c:/cygwin/ and the registry keys, nothing is installed so you don't need to remove them any further. Just select the desired versions of each package you want when you run setup.exe. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Updated: OpenSSH-3.1p1-1
Corinna, Great job with the openssh update! To my knowledge cygwin was the first out of the gate with a packaged update, before I got a debian or redhat announcement. Almost as fast as grabbing the source myself. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: /cygdrive wierdness
At 05:30 PM 3/7/2002, Ross Smith wrote: > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > > > Using Cygwin DLL 1.3.10. > > > > > > Likewise. (On Win2K.) > > > > > > > 1. Close all Cygwin programs > > > > 2. Open bash > > > > 3. Type: cd /cygdrive > > > > 4. Type ls > > > > I get a listing of C:\ instead > > > > 5. Type bash > > > > 6. Type: cd /cygdrive > > > > 7. Type ls > > > > I get a listing of available drives as I should. > > > > > > > > Can someone else confirm this is a problem? > > > > > > Not here. I get the list of drives always. > > Are you sure you closed all Cygwin programs? > >Yes. I just tried it again after rebooting to make sure. >(My drive prefix is /win instead of /cygdrive, but I don't >suppose that would make any difference.) Sorry to belabor the point but do you run any Cygwin services? If so, did you shut them down? Larry Hall [EMAIL PROTECTED] RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: /cygdrive wierdness
> From: Larry Hall (RFK Partners, Inc) [mailto:[EMAIL PROTECTED]] > > At 05:30 PM 3/7/2002, Ross Smith wrote: > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > > > From: Chris January [mailto:[EMAIL PROTECTED]] > > > > > > > > > > Using Cygwin DLL 1.3.10. > > > > > > > > Likewise. (On Win2K.) > > > > > > > > > 1. Close all Cygwin programs > > > > > 2. Open bash > > > > > 3. Type: cd /cygdrive > > > > > 4. Type ls > > > > > I get a listing of C:\ instead > > > > > 5. Type bash > > > > > 6. Type: cd /cygdrive > > > > > 7. Type ls > > > > > I get a listing of available drives as I should. > > > > > > > > > > Can someone else confirm this is a problem? > > > > > > > > Not here. I get the list of drives always. > > > Are you sure you closed all Cygwin programs? > > > >Yes. I just tried it again after rebooting to make sure. > >(My drive prefix is /win instead of /cygdrive, but I don't > >suppose that would make any difference.) > > Sorry to belabor the point but do you run any Cygwin > services? No. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Source for "select"
"Matt Seitz" <[EMAIL PROTECTED]> wrote in message a633ii$3sq$[EMAIL PROTECTED]">news:a633ii$3sq$[EMAIL PROTECTED]... > > "Christopher Faylor" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > cygwin_select *is* select(). > > So how do calls to "select" get mapped to calls to "cygwin_select"? I tried > to find a forwarding function or macro, but didn't find one. I think I found the answer to my question: the forwarding occurs in the "cygwin.din" file. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Failed: Installing Postgresql under Cygwin on win98se
What a mess... no, everything seems to be installed fine. I have ash (20020131-1) and bash (2.05a-2) Now I tried to "initdb" postgres manually, and this is what it told me (in debug-level 5): $ postgres -F -D /usr/share/postgresql/data/template1 -O -d 5 template1 FindExec: searching PATH ... ValidateBinary: "/bin/postgres" is not a regular file ValidateBinary: can't stat "/usr/local/bin/postgres" ValidateBinary: "/usr/bin/postgres" is not a regular file ValidateBinary: "/bin/postgres" is not a regular file ValidateBinary: "/usr/bin/postgres" is not a regular file ValidateBinary: can't stat "/cygdrive/d/TEMP/postgres" ValidateBinary: can't stat "/cygdrive/c/WINDOWS/postgres" ValidateBinary: can't stat "/cygdrive/d/WINDOWS/postgres" ValidateBinary: can't stat "/cygdrive/d/WINDOWS/COMMAND/postgres" ValidateBinary: can't stat "//postgres" FindExec: could not find a postgres to execute... FATAL 1: postgres: could not locate executable, bailing out... DEBUG: proc_exit(1) DEBUG: shmem_exit(1) DEBUG: exit(1) [2]+ Doneipc-daemon But, the file IS there, ok it´s an .exe, but I think this should work anyway... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: cygwin1.dll 1.3.10 release
I too get this error on Win2K after updating. Was working fine previously, did a complete reinstall of cygwin - didn't change anything Sean "Luis Escobar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello > > New dll cause error at connect from remote terminal. > > Thank you > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mkshortcut debugging problem
Well, after going over hoards of MSDN documents and adjusting my code, I realized what most developers' first guess might have been... I followed the null pointer. Madness overtook me. I corrected this (char *)problem and my util actually passed all my tests, no matter which directory it was in. I also ran it through GNU indent a few times (just to make sure :) Features of this version include: --Prettier code, thanks to indent --Better error checking --Works ;) Because of the indent the patch is bigger than the actual file, so here's the whole thing. (Chuck, this should be drop-in replacement for the one in cygutils-0.9.9. I apologize for the inconvenience.) Thanks again to Corinna and Jason for the help. __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ mkshortcut.c.bz2 Description: mkshortcut.c.bz2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Source for "select"
I'm not sure what forwarding you are referring to - forwarding (to me) implies a function wrapper or some such construct. This is exporting the function address + ordinal under a different label, which is somewhat different, in that there is no affect on the stack/ no overhead incurred. Rob -Original Message- From: Matt Seitz [mailto:[EMAIL PROTECTED]] I think I found the answer to my question: the forwarding occurs in the "cygwin.din" file. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
gcc bug, cygwin specific cygwin-1.3.10-1 gcc-2.95.3-5
hi, i think i have found a bug, either that or i am very stupid. the bug is a gcc bug and it is cygwin specific (cygwin-1.3.10-1 gcc-2.95.3-5) and the following code causes a seg fault: --- int end; int main () { end = 1; return 0; } where as the following code does not: --- int notend; int main () { notend = 1; return 0; } it seems that the word "end" seems to do somethings differently. also if the variable was declared as static (static int end) there are not problems with that. hope you guys can help. cheers, alex Alex Song DESIGN ENGINEER EDMI Product Development Division [EMAIL PROTECTED] Ph : +61 7 3881 6443 FAX : +61 7 3881 6420 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/