Problem with perl -MExtUtils::Embed -e ldopts

2001-12-08 Thread Pierre A. Humblet
I have a package that uses perl itself to configure a makefile to use perl libraries. The command and its output are perl -MExtUtils::Embed -e ldopts Note (probably harmless): No library found for -lperl -s -s -L/usr/local/lib /usr/lib/perl5/5.6.1/cygwin-multi/auto/DynaLoader/DynaLoader.a

Re: More exim, and fcntl lock problems

2001-12-08 Thread Pierre A. Humblet
Pierre A. Humblet wrote: 2) On WinNT, local deliveries fail on line 765 of transport.c while ((len = read(deliver_datafile, deliver_in_buffer, I reproduced the situation in the attached try.c A parent process opens and locks a file (using fcntl), and then forks a child. It turns out

Re: security.cc: bug report, question and suggestion

2002-01-18 Thread Pierre A. Humblet
At 06:38 PM 12/30/01 +0100, Corinna Vinschen wrote: On Sun, Dec 30, 2001 at 11:26:15AM -0500, Pierre A. Humblet wrote: At 11:15 PM 12/29/01 +0100, Corinna Vinschen wrote: While I am at it, here is another weird observation: base case above: prog reads some registry key. Succeeds. cases 1

Re: security.cc: bug report, question and suggestion

2002-01-19 Thread Pierre A. Humblet
At 05:06 PM 1/19/02 +0100, Corinna Vinschen wrote: On Fri, Jan 18, 2002 at 07:46:03PM -0500, Pierre A. Humblet wrote: 3) Why is it necessary to set the PrimaryGroup in the process token in setegid()? No, the primary group is used also to create object DACLs. When setting the PrimaryGroup

Re: security.cc: bug report, question and suggestion

2002-01-19 Thread Pierre A. Humblet
At 12:33 AM 1/20/02 +0100, you wrote: On Sat, Jan 19, 2002 at 04:52:18PM -0500, Pierre A. Humblet wrote: The problem is that in contrast to POSIX the PrimaryGroup is restricted to the Groups already listed in the access token of the process. So it will fail if the primary group is set only

Re: security.cc: bug report, question and suggestion

2002-01-24 Thread Pierre A. Humblet
Corinna Vinschen wrote: Sorry but I don't see what you've tested. The patch should address your problem with the access rights of the impersonation token. The attachment has a printout of the security info of the impersonation token. Its DACL is not set the way you intend to have it, in fact

Re: security.cc: bug report, question and suggestion

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: Hi Corinna, I have rearranged the order of your questions. The registry you're trying to access, is that a key below HKCU or HKLM? Special keys: HKLM SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Perflib\\009 and HKEY_PERFORMANCE_DATA Although the first key above

Re: socket/fdopen/exec problem

2002-01-25 Thread Pierre A. Humblet
Corinna Vinschen wrote: Any thoughts? Not immediately. Two questions: - Did you encounter the same on NT? The demo output I gave you, with the temporary non-acceptance, was on NT. The never accepting condition of exim is on Win98 (where most of my testing takes place) and was never

Re: socket/fdopen/exec problem

2002-01-28 Thread Pierre A. Humblet
Corinna Vinschen wrote: snip, long example Any thoughts? Not immediately. Two questions: - Did you encounter the same on NT? Corinna, I have now duplicated on NT the tests reported in http://cygwin.com/ml/cygwin/2002-01/msg01642.html (saturday evening) On NT as on Win98/Me, ps -W

Re: security.cc: bug report, question and suggestion

2002-01-29 Thread Pierre A. Humblet
At 07:41 PM 1/23/02 +0100, Corinna Vinschen wrote: On Wed, Jan 23, 2002 at 01:22:29PM -0500, Pierre A. Humblet wrote: OK, but can you give suggestions about how to debug processes started under cygrunsrv? I tried to have cygrunsrv start a shell and put strace in the shell script. However

Re: security.cc: bug report, question and suggestion

2002-01-31 Thread Pierre A. Humblet
At 11:26 AM 1/30/02 +0100, Corinna Vinschen wrote: On Tue, Jan 29, 2002 at 09:32:06PM -0500, Pierre A. Humblet wrote: I think you're right that we should always look for the SID in /etc/passwd at that point. The problem is exactly the startup of cygrunsrv with no CYGWIN setting in the system

Re: security.cc: bug report, question and suggestion

2002-02-01 Thread Pierre A. Humblet
Corinna Vinschen wrote: It's using standard 8 char wide tabs. I'm using vi with `set ts=8 set sw=2', that's all. The tab setting should work with all editors in default setting. The formatting used is consistent with http://www.gnu.org/prep/standards_toc.html. OK, it's not what I use but

More security issues

2002-02-10 Thread Pierre A. Humblet
Hi Corinna, I have some free time and easy access to an NT so I came back to security issues. As you recall, in setegid(), setting the PrimaryGroup in the process token isn't reliable and was #if'ed out. Consequently non-cygwin subprocesses may create objects with the wrong primary group. I

Re: More security issues

2002-02-13 Thread Pierre A. Humblet
At 04:57 PM 2/12/2002 +0100, Corinna Vinschen wrote: On Sun, Feb 10, 2002 at 02:34:55PM -0500, Pierre A. Humblet wrote: Corinna, I have changed the order of the items. In the course of debugging I also noticed that the sid2 passed to sec_user() from just before CreateProcessAsUser

Re: More security issues

2002-02-13 Thread Pierre A. Humblet
Corinna, please forget my previous message for now. Pierre -- 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: More security issues

2002-02-22 Thread Pierre A. Humblet
Hi Corinna At 10:13 AM 2/14/2002 +0100, you wrote: The sec_user() call in CreateProcess() was never intended to set the default DACL (I didn't even know that something like that exists when I added that) but to set the permissions to access the process. snip Yes, and in the case of

Re: More security issues

2002-03-03 Thread Pierre A. Humblet
At 11:19 PM 2/23/2002 +0100, Corinna Vinschen wrote: I am still looking at that On 2001-10-31 you added RevertToSelf() in dtablecc (dtable::vfork_child_dup) Do you remember why? Yes! It's very important Without that RevertToSelf(), the process has no access to it's own open socket handles

Re: More security issues

2002-03-05 Thread Pierre A. Humblet
Corinna Vinschen wrote: I don't understand that description Could you try to explain in other words? What do you mean by natural group? Primary group as set by Windows (RID 513, None or Domain Users, typically) or the primary group as set in /etc/passwd or ? When an internal token is

Strange exec behavior

2002-03-14 Thread Pierre A. Humblet
Is this normal? [ please cc: me directly] ~ ps -W | fgrep /a 506 1 3454303 11054 13:49:15 /h/a 506 1 3454303 11054 13:49:15 /h/a 506 1 3454303 11054 13:49:15 /h/a 506 1 345

Re: problems setting permissions for sshd

2002-10-29 Thread Pierre A. Humblet
On Tue, Oct 29, 2002 at 10:59:12AM -0500, Harig, Mark A. wrote: My /etc/group (I modified it): all:*:0:0:,S-1-1-0:: SYSTEM:*:18:18:,S-1-5-18:: admin:*:544:544:,S-1-5-32-544:: domadmin:*:512:512:,S-1-5-32-512:: guests:*:546:546:,S-1-5-32-546:: users:*:545:545:,S-1-5-32-545::

Re: problems setting permissions for sshd

2002-10-29 Thread Pierre A. Humblet
On Tue, Oct 29, 2002 at 06:31:59PM +0100, Marcos Lorenzo wrote: Pierre A. Humblet [EMAIL PROTECTED] wrote [10:59am -0500] PAH On Tue, Oct 29, 2002 at 10:59:12AM -0500, Harig, Mark A. wrote: PAH PAH PAHMy /etc/group (I modified it): PAH I just ran mkpasswd -g

Re: Trouble with fresh install of Cygwin

2002-10-31 Thread Pierre A. Humblet
On Thu, Oct 31, 2002 at 08:31:41AM -0800, Joshua Daniel Franklin wrote: But the other problem persists. Could it be something about permissions? I have installed cygwin as a non-admin user (I don't have admin rights on my working Try running man -d It will output line(s) such as

Re: 1.3.14 Permission denied while doing a touch on MVFS

2002-10-31 Thread Pierre A. Humblet
On Thu, Oct 31, 2002 at 03:22:18PM -0800, Andrew DeFaria wrote: I just installed 1.3.14 and am now experiencing problems with permission denied when doing a touch but only when working on Clearcase's MVFS file system (i.e. a dynamic view). AFAICT I do have ntsec set and a proper /etc/passwd

Re: ]Should ntsec autotools work under XP prof ?

2002-11-03 Thread Pierre A. Humblet
On Sun, Nov 03, 2002 at 09:10:47AM -0800, amores perros wrote: snip That is, has anyone seen these three all work together ? i) installation use as a normal user ii) ntsec iii) autotools snip I ran the cygwin setup as my normal user, and when prompted, gave it credentials for an

Re: /etc/group not being read

2002-11-05 Thread Pierre A. Humblet
On Tue, Nov 05, 2002 at 01:59:12PM -0500, James D Below wrote: here are the exact command/files: $ id uid=1084(xxjames) gid=512(Domain Admins) groups=1078(clearcase),512(Domain Admins),513(Domain Users),1077(ncp),1023(ncppc),1005(NCPSERVE),1006(nice) Was that after or before login into

Re: /etc/group not being read

2002-11-05 Thread Pierre A. Humblet
On Tue, Nov 05, 2002 at 04:30:17PM -0500, James D Below wrote: After seeing permissions and ownerships not updating properly. I stopped the sshd service and started it back up. After that, the group permissions were correctly being assigned. Great. Should I have had to restart the ssh

Re: FAT32, lock count exceeded, mutt etc.

2002-11-12 Thread Pierre A. Humblet
On Tue, Nov 12, 2002 at 12:10:40PM -0500, Scott W Brim wrote: Looking through the mail archives I can't tell what the recommended fix is for running mutt/fetchmail/procmail and all on a FAT32 partition, wrt file locking problems. There was plenty of discussion last summer but I can't find a

Re: .rhosts on W2K w/o ntsec

2002-11-16 Thread Pierre A. Humblet
On Fri, Nov 15, 2002 at 10:37:42PM +0100, Christian Mueller wrote: Hi, after updating to the latest version of Cygwin (1.3.15-1) including all other modules, rshd wouldn't accept my .rhosts file anymore because it's owned by the wrong owner. The error message is permission denied (bad

Re: minires + rblcheck works

2002-11-17 Thread Pierre A. Humblet
On Sat, Nov 16, 2002 at 07:33:18PM -0800, Andrew Lynch wrote: So I would like to know why is not minires a part of cygwin? There are numerous packages ported to cygwin using it, if I go by the cygwin mailing list. Is it just the lack of someone to package it or is it a policy issue? Here

Re: .rhosts on W2K w/o ntsec

2002-11-18 Thread Pierre A. Humblet
On Mon, Nov 18, 2002 at 10:50:43AM +0100, Christian Mueller wrote: Unless, of course, I turn ntsec off again as soon as ruserok() has completed. The only way to do this would be in /etc/profile. Is this safe, i.e. will Cygwin see the environment changing and turn off ntsec for *all*

Re: ls problem

2002-11-19 Thread Pierre A. Humblet
On Wed, Nov 20, 2002 at 11:48:10AM -0800, Carlo Florendo wrote: I don't know how to interpret the output of strace so I just included it here as ls-output.bz2. I hope this helps us see the problem. There is a huge delay accessing F:\cygwin\usr\local\etc\zoneinfo\posixrules, on your F: drive.

Re: ls problem

2002-11-19 Thread Pierre A. Humblet
On Tue, Nov 19, 2002 at 10:56:49PM -0500, Pierre A. Humblet wrote: On Wed, Nov 20, 2002 at 11:48:10AM -0800, Carlo Florendo wrote: I don't know how to interpret the output of strace so I just included it here as ls-output.bz2. I hope this helps us see the problem. There is a huge delay

Re: ls problem

2002-11-19 Thread Pierre A. Humblet
On Tue, Nov 19, 2002 at 11:18:59PM -0500, Christopher Faylor wrote: The delay is apparently ls doing things that haven't been straced. I don't know what could be causing the delay. It would be interesting to see what the task manager says is happening during this time. Does ls spike the

Re: sshd: server refused our key

2002-11-23 Thread Pierre A. Humblet
On Fri, Nov 22, 2002 at 09:00:27AM +0100, Manfred Köhler wrote: Thanks to mention this thread, but this can't fix the problem of windows shared home directories: Security on shared drive is turned on with CYGWIN=smbntsec That should fix the ls -l display. You may run into another problem: the

Re: cygwin-1.3.16-1

2002-11-23 Thread Pierre A. Humblet
On Sat, Nov 23, 2002 at 11:50:46PM -, [EMAIL PROTECTED] wrote: Strange consequence of upgrading from cygwin-1.3.15-2 to 1.3.16-1: instead of starting off in ~ with ~/.bash_profile correctly read, now start in / with ~/.bash_profile not read. Both /etc/group and /etc/passwd are unaltered.

Re: cygwin-1.3.16-1

2002-11-24 Thread Pierre A. Humblet
At 07:08 AM 11/24/2002 -, [EMAIL PROTECTED] wrote: Thank you. Here is startup location and the information you requested in cygwin-1.3.15-2: Thanks Fergus, everything looks perfect. I need some more help: - is your username under Windows really fergus? - could you send me the output of strace

Re: cygwin-1.3.16-1

2002-11-24 Thread Pierre A. Humblet
Fergus, Thanks for the trace. I see what the problem is and will fix it later today. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ:

Re: can't set $USER under 1.3.16-1

2002-11-26 Thread Pierre A. Humblet
On Mon, Nov 25, 2002 at 04:17:59PM -0500, Lester Ingber wrote: Up until now, through cygwin 1.3.15-2, I have set my $USER in /etc/profile to a username different from `id -un`, with the same name set in /etc/passwd. I have had no problems logging in What else must I do under 1.3.16-1 to set

Re: Cygwin 1.3.17 changes ls -l output

2002-12-03 Thread Pierre A. Humblet
effect of the following? On Wed, Nov 27, 2002 at 07:15:17PM -0500, Christopher Faylor wrote: - Fix Sun acl functions. (Corinna Vinschen, Pierre Humblet) It is a side effect. The + indicates that the ACL contains more entries than necessary to represent the Unix modes. In the case of directories

Re: Cygwin 1.3.17 changes ls -l output

2002-12-03 Thread Pierre A. Humblet
On Tue, Dec 03, 2002 at 10:47:36AM -0500, Jason Tishler wrote: Pierre, Should the + be suppressed? Or, should Cygwin behave like other Unixes (e.g., Solaris, HP-UX, etc.) that support ACLs? The + can be suppressed by at least 3 ways: - the user should be able to remove the default entries

RE: HOME set to / [Was: cygwin-1.3.16-1]

2002-12-04 Thread Pierre A. Humblet
From: Chris Game - now how do I get out of this 'None' group that I'm apparently in, and into 'Users' or even 'Administrators'? Step 1: Type id in bash and find what groups you are part of. id will only show the Windows groups that are in /etc/group, so that file has to be

Re: ntsec and remote copy

2002-12-10 Thread Pierre A. Humblet
On Tue, Dec 10, 2002 at 02:02:59PM -, Kris Thielemans wrote: I have a problem with ntsec I think. I copied files from a remote disk (a Windows NT server) using the explorer. These files are then set to the following UID: ls -l test.txt -rwx--1 65535None 1225 Dec 10

Defunct process on Win98, Cygwin 1.3.17

2002-12-10 Thread Pierre A. Humblet
I have seen two such events in the last few weeks. pid 375917 is stuck waiting forever. Are there any useful details that I should provide? Pierre 713677 262325 262325 4294253619? 500 11:59:54 /c/PROGRAM FILES/CYGNUS/BIN/EXIM-4.10.13-3 375917 713677 262325 4294591379? 500

Re: cygwin 1.3.17-1 gethostbyname() leak

2002-12-10 Thread Pierre A. Humblet
On Wed, Dec 11, 2002 at 06:12:21AM +1100, Noel Gordon wrote: If it is true that cygwin uses gethostbyname() from wsock32.dll, and returns the wsock32.dll hostent* result to the application, then it is perhaps unwise to free() it. Following your tip, we find from ... In net.cc cygwin takes

Re: ntsec and remote copy

2002-12-14 Thread Pierre A. Humblet
On Thu, Dec 12, 2002 at 12:00:51PM -, Kris Thielemans wrote: Remaining questions: - is there another way to prevent specific users access to telnet or ftp ? (or ssh when I get round to installing sshd) ? Edit /etc/passwd and set the shell field to /something/invalid/but/not/empty - I

Re: Followup: 1.3.17: sshd closes terminal immediately after establishing connection (1.3.13 ? 1.3.14)

2002-12-19 Thread Pierre A. Humblet
On Thu, Dec 19, 2002 at 11:04:27AM +0100, [EMAIL PROTECTED] wrote: Hello, everybody, I want to followup on this problem. It is still not solved, but I have found some time to investigate the problem, and it surely has to do with the cygwin1.dll. Please try strace -o trace sshd -d and then

Re: Grep says file exists and then doesn't grep it

2002-12-19 Thread Pierre A. Humblet
At 04:21 PM 12/19/2002 -0500, Mark Blackburn wrote: If I type: $ grep -e hello -r . I get: grep: .: File exists It's a problem on Win9x only, patch is on the way. Thanks for the report. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: Grep says file exists and then doesn't grep it

2002-12-19 Thread Pierre A. Humblet
At 03:24 PM 12/19/2002 -0800, Randall R Schulz wrote: Information please! What was the problem? A stupid bug of mine, mixing up variable names, with non-deterministic results. It's surprising that it took so long to emerge, but before the buggy code was put in, grep -r didn't work at all on

Re: Followup: 1.3.17: sshd closes terminal immediately after establishingconnection (1.3.13 ? 1.3.14)

2002-12-20 Thread Pierre A. Humblet
[EMAIL PROTECTED] wrote: Hello Jurgen,, thanks for the trace you sent me privately. so I have to run the sshd as a specific user, and I also can not install sshd as a service. snip debug1: permanently_set_uid: 45090/10513 setuid 45090: Permission denied You also report that the output

Re: problem with sshd with keyfiles only and windows xp

2002-12-20 Thread Pierre A. Humblet
On Sat, Dec 21, 2002 at 12:52:39AM +0100, Hans Sturm wrote: i installed sshd with host-config as service under SYSTEM account without pivilege separation. everything works fine if i use password authentication. but if i use keyfile authentication i am able to log in but if i do an id it

Infinite loop in rxvt with recent Cygwin

2002-12-20 Thread Pierre A. Humblet
This is on WinME with a Cygwin built from cvs last night. When a program, such as sleep 10, is ^C interrupted, the shell enters an infinite loop, as if infinitely many RET were input. Pierre -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting:

Re: Infinite loop in rxvt with recent cygwin

2002-12-21 Thread Pierre A. Humblet
On Fri, Dec 20, 2002 at 11:41:22PM -0500, Christopher Faylor wrote: I've checked in a fix and am generating a new snapshot now. Thanks Chris, cygwin from cvs works fine on WinME. FYI, I have had another outstanding problem for a long time. Unfortunately it is a lot less specific and I have no

Re: Exim: Format error in spool file

2002-12-21 Thread Pierre A. Humblet
At 01:58 AM 12/22/2002 -0200, Frédéric L. W. Meunier wrote: 2) Looking at the source code, this error message should include the name of a file. Have you looked at that file? Send it me as an attachment if you don't see anything obvious. Attached (very small files). It looks like your cygwin

Re: permission denied for NTFS network shares

2002-12-22 Thread Pierre A. Humblet
Genady Veytsman wrote Are you saying that there is no way whatsoever to have RSH without passwords? I need it for running scripts/programs on different NT machines. Interactive behaviour (login/password) will not allow that since you can't hardcode your passwords in scripts. If you are the

small tty problem? Re: Updated: cygwin-1.3.18-1

2002-12-25 Thread Pierre A. Humblet
I was going to send this message about the latest cvs, but I just verified it applies as well to 1.3.18 WinME, latest everything, CYGWIN undefined When I ssh localhost and use less or mutt, the final q appears before the next shell prompt. This is 100% reproducible with rxvt, I have also seen

Re: small tty problem? Re: Updated: cygwin-1.3.18-1

2002-12-27 Thread Pierre A. Humblet
On Thu, Dec 26, 2002 at 09:47:59PM -0500, Christopher Faylor wrote: ^ note q before the prompt. Interesting problem. Should be fixed in current cvs. Thanks Chris, looks fine here. But there is something similar... WinME, latest everything, Cygwin from cvs, CYGWIN undefined try.sh is a 5

Re: Domain user cannot login

2002-12-28 Thread Pierre A. Humblet
On Sat, Dec 28, 2002 at 11:41:42PM +0100, a12 wrote: Hi gurus, I installed cygwin incl. openssh and it runs OK for a local user 'sysaccount'. For a domain user 'magr40' I updated /etc/passwd: mkpasswd -d -u magr40 /etc/passwd and fetched all group id's: mkgroup -d group.domain

Re: Hard links broken?

2002-12-30 Thread Pierre A. Humblet
On Sun, Dec 29, 2002 at 10:13:48PM -0600, Nicolas Williams wrote: Yes, NTFS, on XP. Er, no! That's the problem! I'd never bothered checking (it's a single user laptop, used mostly for mutt/vim [and Cygwin])), but the c: drive is FAT32 while the d: drive is NTFS (the install disks give no

[ANNOUNCEMENT] Updated: exim-4.12-1

2002-12-31 Thread Pierre A. Humblet
I've updated the version of exim to 4.12 (exim is a Mail Transfer Agent, like sendmail). 4.12 is the first stable release since the current 4.10. It contains 54 backward compatible changes to exim proper, see ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ChangeLogs/NewStuff-4.11 There are

Re: Heads up: *possible* bug in cygwin

2003-01-01 Thread Pierre A. Humblet
On Wed, Jan 01, 2003 at 10:05:10AM +, Steven O'Brien wrote: In glib-1.2.10, gutils.c: g_get_any_init (void), the current user details are obtained from /etc/passwd. This code is called as part of glib initialisation, whether the app wants this data or not. It uses sysconf

tzset and TZ

2003-01-01 Thread Pierre A. Humblet
On Cygwin calling tzset() and localtime() will set TZ in the environment (if it isn't set), while calling tzsetwall() will always set TZ. As far as I can tell this is both non standard and unnecessary. Am I wrong? Is it now a feature? Or is it patch gratefully accepted? Pierre --

Re: Heads up: *possible* bug in cygwin

2003-01-01 Thread Pierre A. Humblet
On Wed, Jan 01, 2003 at 02:48:54PM -0500, Christopher Faylor wrote: I've uploaded a new snapshot which should correctly calculate the buffer size for overflow conditions and returns a large number for _SC_GETPW_R_SIZE_MAX Chris, I don't understand your changes in getpwuid_r32. The uid and

Re: Heads up: *possible* bug in cygwin

2003-01-01 Thread Pierre A. Humblet
At 07:01 PM 1/1/2003 -0500, Christopher Faylor wrote: Oops. You're right. So, the only potential problem is that the getpw routines aren't thread safe. There is a window during the passwd info resides in a static structure. You are right, the routines are not thread safe. However everything

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-02 Thread Pierre A. Humblet
On Thu, Jan 02, 2003 at 11:15:09PM +0100, a12 wrote: Whether I login locally as user 'sysaccount' or domain user 'magr40', the problem persists: HOME=/cygdrive/c HOMEDRIVE=C: HOMEPATH=\ Isn't HOME already defined in the Windows environment, before starting Cygwin? Start a DOS shell and

Re: 2 copies of perl includes?

2003-01-03 Thread Pierre A. Humblet
On Fri, Jan 03, 2003 at 11:27:50AM +0100, Gerrit P. Haase wrote: Make a backup from libperl5.6.1.dll since some other executables in the cygwin netrelease are linked against it (e.g. exim). The exim in the cygwin netrelease has never been linked with perl, in part because the existence of

Re: Cygwin home dir=/cygwin/c (not /home/userid)

2003-01-03 Thread Pierre A. Humblet
a12 wrote: Pierre, 'echo %HOME%' yields 'C:\' Modifying /etc/profile: # Set up USER's home directory # 020102 magr40 force to use /home/$USER #if [ -z $HOME ]; then HOME=/home/$USER #fi solves my problem, but is it the correct way to do it ? It's correct but not particularly

Re: adduser script for cygwin and NT/2000/XP

2003-01-06 Thread Pierre A. Humblet
On Mon, Jan 06, 2003 at 05:05:51PM -0800, Jon Clegg wrote: I have created a adduser script for NT/2000/XP, it?s mkpasswd -l /etc/passwd net stop sshd net start sshd Have you observed that it's necessary to restart sshd? If so, it's a bug. Pierre -- Unsubscribe

Re: sshd/passwd

2003-01-08 Thread Pierre A. Humblet
On Wed, 8 Jan 2003, Erik Moreau wrote: I know that I have two emoreau's. I'm going to delete the last one. Have you done it? Having your uid on more than one line in /etc/passwd kills ssh-user-config. pwdhome=`awk -F: '{ if ( $3 == '${uid}' ) print $6; }' /etc/passwd` By the way, that's most

Re: Bash PATH via ssh

2003-01-08 Thread Pierre A. Humblet
On Wed, Jan 08, 2003 at 02:02:06PM -0600, Michael Hipp wrote: Thanks. I now have ensured that ~/.profile, ~./bash_profile, ~/.bash_login, /etc/profile all contain the lines: PATH=/usr/local/bin:/usr/bin:/bin:$PATH export PATH But still when I do ssh 192.168.0.150 'echo $PATH' it returns

Re: Bash appears to have changed...

2003-01-09 Thread Pierre A. Humblet
On Wed, Jan 08, 2003 at 10:00:28PM -0800, Andrew Mayer wrote: However, the default file permissions just seem wrong. Here's a sample, the full ls -lR is too big to post but looks about the same. .: total 2 d-+ 9 mayerNone0 Jan 8 21:01 ./ d-+ 9 mayer

Re: Bash appears to have changed...

2003-01-09 Thread Pierre A. Humblet
Thanks a lot Andrew, that's exactly what I needed. The changes I am contemplating will fix the problem in your situation. FYI, it looks like you must be in the Administrators group to run chmod -R and fix the permission display, but you already have at least Windows RX permissions on the

Re: Cygwin Exim

2003-01-12 Thread Pierre A. Humblet
What exim are you using? Is it the precompiled version from the cygwin distribution or a self-built version? If you download the distribution version (with setup, look in the Mail category) and run exim-config you will be offered the option to start a service. The -oX 25 works fine here

Re: Paasword validation in Windows Domain ?

2003-01-13 Thread Pierre A. Humblet
On Mon, Jan 13, 2003 at 10:45:14AM +0100, [EMAIL PROTECTED] wrote: Hello, I want to know if it is possible using the Cygwin tools to validate a user/password against the domain a computer is in. Yes, that's exactly what happens when you telnet or ssh, providing a password. Cygwin provides

Re: Paasword validation in Windows Domain ?

2003-01-13 Thread Pierre A. Humblet
On Mon, Jan 13, 2003 at 11:26:42AM -0500, Habermann, David (DA) wrote: It should be noted that this does not work if running on W98, it must be on XP or NT (someone please correct me if I'm wrong here). Correct. The URL below also explains how to do it on win98 See

Re: xinted rsync bluescreen

2003-01-13 Thread Pierre A. Humblet
On Mon, Jan 13, 2003 at 10:59:16AM -0800, Randall R Schulz wrote: Pierre, Do you think the handle to /etc that each (is it each or all?) cygwin process retains is an ingredient in triggering this symptom? AFAICT the handle is opened when starting cygwin and is inherited by child processes.

Re: Cygwin Exim

2003-01-14 Thread Pierre A. Humblet
Gerrit P. Haase wrote: He was reading some advice to Gerrit Haase to put tabs instead of spaces in /etc/services to get exim working on cygwin. Yes, but that was not my problem and it didn't solved it. Unfortunately I cannot say what went wrong with my handcrafted build, That's history,

Re: NTEA extensions for uid/gid

2003-01-23 Thread Pierre A. Humblet
On Wed, Jan 22, 2003 at 11:23:28PM +0100, Christian Mueller wrote: I don't want to use ntsec because I use my Cygwin home directory for Cygwin *and* Windows programs and ntsec displays screwed-up file permissions for files created by Windows programs. The next version of Cygwin changes the

Re: NTEA extensions for uid/gid

2003-01-27 Thread Pierre A. Humblet
On Mon, Jan 27, 2003 at 02:30:35PM +0100, Ronald Landheer-Cieslak wrote: In any case, seeing the behaviour of the exec-permission bits, I have a wouldn't it be nice if...: wouldn't it be nice if the executable permission bits would actually correspond to the executability of a file? I mean,

[ANNOUNCEMENT] Updated: exim-4.12-3

2003-01-31 Thread Pierre A. Humblet
I've updated the version of exim to 4.12-3 This version is identical to 4.12-2 but now linked against openssl-0.9.7 It also works around a chown bug when running the queue from the shell. Pierre To update your installation, click on the Install Cygwin now link on the

Re: cygwin 1.3.19-1 file permission out of sync with NTFS on XP?

2003-02-03 Thread Pierre A. Humblet
Mon, Feb 03, 2003 at 11:14:03AM -0800, Andrew Chang wrote: I have a situation in which a cygwin app created a file, chmod it to readonly. then we have a win32 app chomd the same file to writable (0644). In cygiwn 1.3.12, the new write permission would show up in the cygwin ls -l command. In

[ANNOUNCEMENT] Updated: exim-4.54-1

2005-10-16 Thread Pierre A. Humblet
I have updated Exim, the Mail Transfer Agent, to version 4.54. News - For changes to exim proper, see ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ChangeLogs/NewStuff-4.53 ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ChangeLogs/NewStuff-4.54

Re: exim 4.54-1 and broken symlinks

2005-12-08 Thread Pierre A. Humblet
- Original Message - From: Krzysztof Duleba To: cygwin@cygwin.com Sent: Thursday, December 08, 2005 7:36 AM Subject: exim 4.54-1 and broken symlinks Hi There's something wrong with exim package and exim-config. It creates /usr/sbin/sendmail.exe, which links to /bin/exim.exe, which

Re: exim 4.54-1 and broken symlinks

2005-12-08 Thread Pierre A. Humblet
- Original Message - From: Krzysztof Duleba To: cygwin@cygwin.com Sent: Thursday, December 08, 2005 2:02 PM Subject: Re: exim 4.54-1 and broken symlinks Krzysztof Duleba wrote: Hum, I just installed the latest exim on a new machine and can't reproduce what you describe. exim-config

[ANNOUNCEMENT] Updated: exim-4.60-1

2005-12-12 Thread Pierre A. Humblet
I have updated Exim, the Mail Transfer Agent, to version 4.60. News - For changes to exim proper, see ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ChangeLogs/NewStuff-4.60 ftp://ftp.csx.cam.ac.uk/pub/software/email/exim/ChangeLogs/NewStuff-4.60

Re: exim 4.54-1 and broken symlinks

2005-12-12 Thread Pierre A. Humblet
At 06:20 AM 12/12/2005 -0700, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Krzysztof Duleba on 12/12/2005 3:35 AM: And ln -s -f a b produces b == a if a.exe doesn't exist yet. You are correct that the behavior of cygwin ln in the presence of symlinks has not

Re: bash: tab completion failure from (but not at) /

2004-05-12 Thread Pierre A. Humblet
On Wed, May 12, 2004 at 05:43:32PM +0200, Corinna Vinschen wrote: On May 12 16:17, Dave Korn wrote: I reckon you could quote http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap04.html#tag_0 4_11 to support the claim that what bash is doing is actually an invalid

Re: restoring facls after restore from tar

2004-04-26 Thread Pierre A. Humblet
On Mon, Apr 26, 2004 at 05:10:02PM -0500, Dick Repasky wrote: Hello, I just restored an instance of cygwin from a tarball that had been created with tar -cf - /cygdrive/c/cygwin. Everything worked fine except sshd (the only service that I run). The problem turned out to be that file

Re: updatedb error

2004-05-15 Thread Pierre A. Humblet
On Sat, May 15, 2004 at 02:25:23PM +0200, Thorsten Kampe wrote: With the latest Cygwin snapshot (and probably since quite a few previous versions) I'm expecting the dreaded /usr/bin/find: ./.. changed during execution of /usr/bin/find error again when running updatedb. I could confirm this on

Re: Issue with 'test' command and network shares on non-domain network

2004-05-18 Thread Pierre A. Humblet
On Tue, May 18, 2004 at 11:47:40PM +0100, [EMAIL PROTECTED] wrote: Hello all, I've been seeing a problem with permissions checks using v. 1.5.9 of cygwin on network shares on machines which are not part of a domain with smbntsec set, any command that performs an explicit access check

Re: 1.3.22 - 1.5.10: chmod behavior change

2004-05-28 Thread Pierre A. Humblet
On Fri, May 28, 2004 at 02:14:31PM -0700, Jos Backus wrote: On Fri, May 28, 2004 at 04:06:43PM -0400, Larry Hall wrote: Please follow the guidelines outlined here for reporting problems: Problem reports: http://cygwin.com/problems.html Sorry. `cygcheck -s -v -r' output attached.

Re: 1.3.22 - 1.5.10: chmod behavior change

2004-05-28 Thread Pierre A. Humblet
On Fri, May 28, 2004 at 03:20:15PM -0700, Jos Backus wrote: On Fri, May 28, 2004 at 05:32:28PM -0400, Pierre A dot Humblet wrote: I think I see what the problem is. Is it correct that you do not have permission to change the permissions on that drive (even in the File Properties box

Re: No endline conversion while in dir that can be reached via both textmode and binmode mounts

2004-05-29 Thread Pierre A. Humblet
On Fri, May 28, 2004 at 10:19:58AM +0200, Jacek Trzmiel wrote: Bug or a feature? Shouldn't /test/cygwin/t/d be 3 bytes long as well? I recall it working properly (i.e. converting to windows endlines) when inside such directory some time ago. Thanks for the report. It should be fixed in the

Re: invalid mounts after inst of cygwin1.5.10.3

2004-05-29 Thread Pierre A. Humblet
On Sat, May 29, 2004 at 07:30:17AM -0700, Hans Horn wrote: subject says it all. after inst of cygwin1.5.10.3 the default mounts are hosed (contain double slash). cygcheck output attached. could somebody pls fix that? It looks like the registry values of the mounts contain a backslash followed

Re: df accesses floppy

2004-05-29 Thread Pierre A. Humblet
On Sat, May 29, 2004 at 10:30:22AM -0700, kin techie com wrote: I don't anything obvious in the strace listing. It seems like the floppy is accessed during one of mount_info calls before the wait_for_sigthread call below. For now, I just disabled the floppy in XP to cope with this problem

Re: invalid mounts after inst of cygwin1.5.10.3

2004-05-29 Thread Pierre A. Humblet
things up. H. Pierre A. Humblet wrote in message news:[EMAIL PROTECTED] On Sat, May 29, 2004 at 07:30:17AM -0700, Hans Horn wrote: subject says it all. after inst of cygwin1.5.10.3 the default mounts are hosed (contain double slash). cygcheck output attached. could somebody pls fix

Re: invalid mounts after inst of cygwin1.5.10.3

2004-05-30 Thread Pierre A. Humblet
On Sun, May 30, 2004 at 08:40:30AM -0700, Hans Horn wrote: Hi Pierre, yup, you are right again: there was a trailing backslash in my cygwin root. But that had been there since my first cygwin days (fall 2001). Has there been a change in behavour between cygwin 1.5.10.x and earlier versions?

Re: invalid mounts after inst of cygwin1.5.10.3

2004-05-31 Thread Pierre A. Humblet
in behavour between cygwin 1.5.10.x and earlier versions? This tiny little backslash caused my a couple of days grief! thank you so much. finally I'm now able to compile and link again! H. Pierre A. Humblet wrote in message news:[EMAIL PROTECTED] Hans, When you run setup

Re: cvs checkout fails in directory that can be accessed via both textmode and binmode mounts

2004-06-03 Thread Pierre A. Humblet
On Thu, Jun 03, 2004 at 07:49:15PM +0200, Jacek Trzmiel wrote: Jacek Trzmiel wrote: $ mkdir /testmnt/cygwin/test $ cd /testmnt/cygwin/test snip 20040530 snapshot: Same command run as above, but preceded by strace: $ strace cvs -d /testmnt/cvsrep co prj Checkout does work like in

Re: rm prints no errmsg if _unlink fails with errno 32

2004-06-03 Thread Pierre A. Humblet
On Thu, Jun 03, 2004 at 09:08:47PM +0200, Reini Urban wrote: Reini Urban schrieb: (latest cygwin release 1.5.10-3 and fileutils-4.1-2) rm printed no errmsg if _unlink failed with errno 32. Pierre ping? Should I patch it by myself? But I don't know where. The syscall fails, but is not

Re: cvs checkout fails in directory that can be accessed via both textmode and binmode mounts

2004-06-03 Thread Pierre A. Humblet
Jacek Trzmiel wrote: Hi Pierre, In fact that's normal. When cygwin starts under strace it only knows the Windows current directory. Thanks for info. Please try cd / strace -o trace.txt sh -c cd /testmnt/cygwin/test; cvs something choosing a something that displays the problem

  1   2   3   4   5   6   7   8   9   10   >