Re: alias command not effective

2011-01-17 Thread Julio Costa
oblem? > > Don't pipe the output of alias into another command, thereby avoiding > the subshell that would limit the alias to just the child shell. > He never wanted to pipe the alias command :) The real answer is: Double-check the quoting rules, so that pipe char doesn't get

Re: SSH - Can't Login (3rd Post)

2010-08-30 Thread Julio Costa
. > -- > Problem reports:       http://cygwin.com/problems.html > FAQ:                   http://cygwin.com/faq/ > Documentation:         http://cygwin.com/docs.html > Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple > Regards, ___ Julio Costa -- Pro

Re: missing dependency in setup.ini

2010-06-15 Thread Julio Costa
. yet! sorry, didn't resist :o) Back to serious mode... > It failed to download the "gunzip" command. > And is there any (gzip/gunzip) related errors in /var/log/setup.log? Or /var/log/setup.log.full? -- ___ Julio Costa -- Problem reports: http://

Re: Server 2008 permission denied on creating files of certain extensions.

2010-06-11 Thread Julio Costa
; If you deactivate your antivirus/malware software, do the problem go away? 2) UAC. Is this in an elevated shell? If this doesn't help, I think you should follow the problem report guidelines in http://cygwin.com/problems.html so we can assess what could be wrong. -- ___ Julio C

Re: setting CYGWIN=nodosfilewarning not working.

2010-06-11 Thread Julio Costa
gt; Is there any other way to set the CYGWIN environment variable. > Yes there are. Try launching like this: C:/cygwin/bin/sh.exe -c "CYGWIN=nodosfilewarning /bin/mkdir -p 'C:/cygwin/tmpdir'" -- ___ Julio Costa -- Problem reports: http://cygwin.com/pr

Re: 'cp' utility bug when .exe file exist.

2010-06-11 Thread Julio Costa
On Wed, Jun 9, 2010 at 20:49, Christopher Faylor wrote: > On Wed, Jun 09, 2010 at 05:28:16PM +0100, Julio Costa wrote: >>On Wed, Jun 9, 2010 at 16:47, Christopher Faylor wrote: >>> On Wed, Jun 09, 2010 at 03:02:16PM +0100, Julio Costa wrote: >>>>On Wed, Jun 9, 2

Re: 'cp' utility bug when .exe file exist.

2010-06-11 Thread Julio Costa
On Thu, Jun 10, 2010 at 11:10, Andrey Repin wrote: > Greetings, Julio Costa! > Hi, Andrey! >>>>And this is where my head got reeeally spinning... can anyone, please, >>>>explain the reason to why this .exe magic exists, anyway? >>> >>>

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
bution to not use .exe is a huge undertaking for > little gain. > I think it is a little more than... a little gain. But that's subjective, of course. Nevertheless, I do agree - it's a daunting task. Just one that doesn't necessarily must be done all at once... -- ___

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
On Wed, Jun 9, 2010 at 16:47, Christopher Faylor wrote: > On Wed, Jun 09, 2010 at 03:02:16PM +0100, Julio Costa wrote: >>On Wed, Jun 9, 2010 at 14:20, Eric Blake wrote: >>> >>> Have you ever encountered a makefile that doesn't consistently use >>> $(E

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
our call, of course. There are already some proposals in this thread, which seems to be of value, namely the one by Eric regarding gcc... With that and some minor tweaks to add the aforemented PATEXT and ASSOC "hacks", could open the way to then, slowly, removing the "magic" spread over those applications... and only in the end, in cygwin. -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
at least in the reasons that made it necessary... so I think that should be let alone, at least for now... -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
On Wed, Jun 9, 2010 at 12:39, Andy Koppe wrote: > On 9 June 2010 10:48, Julio Costa wrote: >>>>And this is where my head got reeeally spinning... can anyone, please, >>>>explain the reason to why this .exe magic exists, anyway? > > As far as I understand it, th

Re: ssh setup fails on cygwin

2010-06-09 Thread Julio Costa
way around). As from package, both are installed in /usr/bin, but if the installation is working properly, they should have appeared in /bin, through mounting. ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docum

Re: 'cp' utility bug when .exe file exist.

2010-06-09 Thread Julio Costa
On Wed, Jun 9, 2010 at 05:40, Christopher Faylor wrote: > On Wed, Jun 09, 2010 at 02:38:30AM +0100, Julio Costa wrote: >>And this is where my head got reeeally spinning... can anyone, please, >>explain the reason to why this .exe magic exists, anyway? > > It's already b

Re: 'cp' utility bug when .exe file exist.

2010-06-08 Thread Julio Costa
cygwin itself), fattening the patching over upstream versions... and of course one more big stone to add to the slowness of cygwin. I see several downsides of this feature... and I fail to see the upsides. Please, cgf and corinna, can you shed some light on this? Best regards, ___ Julio Costa

Re: C program compilation. Needed .dll's for .exe.

2010-05-26 Thread Julio Costa
is required by the licencing), and just drop it together in a directory on the client PC's. > Any help what so ever is greatly appreciated. > Regards, ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: sigh

2010-04-13 Thread Julio Costa
LOL! From a mail sent out in July 2009! :) On Tue, Apr 13, 2010 at 15:36, Christopher Faylor wrote: > > http://beautifuldiscovery.wordpress.com/2010/04/12/bash-access-violations-in-cygwin/ > > cgf > -- _______ Julio Costa -- Problem reports: http://cygwin.com/pr

Re: What happens to disappearing programs when ones I used disappear from 1.7.1-1

2010-01-05 Thread Julio Costa
ux utilities util-linux/util-linux-2.14.1-1 Random collection of Linux utilities Short answer: You need to install util-linux package. -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: CYGWIN_NT-5.1 1.7.0(0.214/5/3) ps (cygwin) 1.11 - how do I display the arguments to the processes?

2009-11-19 Thread Julio Costa
Hi Larry, If you want a more dirty-cheap solution, without installing anything, you could also try something like this in a bash shell: for i in /proc/[0-9]* ; do echo -n "${i#/proc/}: " ; cat -v $i/cmdline ; echo ; done | sed -e 's/\^@/ /g' -- ___ Julio Costa

Re: R: Cygwin 1.5 vs. 1.7: tail

2009-10-28 Thread Julio Costa
uses `sort +1' or `tail +10', you can work around any compatibility problems by setting `_POSIX2_VERSION=199209' in your environment. --- So, you could try this, or using the standard form, "-n NN" ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

hardlink giving out .lnk?

2009-10-12 Thread Julio Costa
? .lnk?? This is a **hard link**. And even if it was a symbolic, there's no more .lnk, unless we ask explicitely, right? FYI, I can do a ln -s log.lnk log, and it still works (eg., with logger), AFAICS. But this is probably not the intended way of working. -- ___ Julio Costa -- Pr

Cygwin Chroot security considerations [WAS: "OpenSSH - sftp not working for non-Administrator users"]

2009-10-06 Thread Julio Costa
on from plain *blerg* Windows. As soon as I've my scripts stabilized, I'll share with you my way of setting this up, in a (hopefully) secure way. Please stay tuned... but don't hold your breath :) -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: OpenSSH - sftp not working for non-Administrator users

2009-10-06 Thread Julio Costa
On Tue, Oct 6, 2009 at 10:15, Corinna Vinschen wrote: > On Oct  5 20:18, Julio Costa wrote: >> On Mon, Oct 5, 2009 at 19:50, Corinna Vinschen wrote: >> > Why don't you just put cygwin1.dll into $CHROOT-DIR/bin? >> > >> >> I did. It obviously works. But I

Re: OpenSSH - sftp not working for non-Administrator users

2009-10-05 Thread Julio Costa
On Mon, Oct 5, 2009 at 19:50, Corinna Vinschen wrote: > On Oct  5 16:07, Julio Costa wrote: >> On Mon, Jul 20, 2009 at 12:57, Corinna Vinschen wrote: >> > Nevertheless there's something fishy.  The /bin path is added >> > automatically by cygrunsrv so that the

Re: OpenSSH - sftp not working for non-Administrator users

2009-10-05 Thread Julio Costa
lp. So, I was thinking, shouldn't make more sense that cygrunsrv do: a) add /usr/bin also as a bare-minimum, to cover chrooted environments (and to follow the /usr/bin/*.dll dependencies of cygwin binaries); b) add IN FRONT of PATH , not in the end, as it does now? Because this is calling f

Re: cygrunsrv/autossh howto start even the destination address is not reachable yet?

2009-10-04 Thread Julio Costa
tossh do not start if the hostname can not be resolved. > I use autossh a lot, although not in a service. From what I can see, AUTOSSH_GATETIME is your friend. Add it to the service instalation with -e AUTOSSH_GATETIME=0 -- ___ Julio Costa -- Problem reports: http://cygwin.com/

mkpasswd, mkgroup: __progname points to rubbish

2009-10-02 Thread Julio Costa
fied path. So, I currently don't know WHY __progname it's apparently non-initialized. If it is obvious for you, I'll stop right here. If you'd like that I dig more deeper, please say so! -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: syslog-ng: some packaging glitches

2009-09-28 Thread Julio Costa
og-ng cygwin user in this 6+ months!? At least I've no other explanation why no one else had problems with syslog-ng... -- ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: sftp on a Windows 2003 server

2009-09-24 Thread Julio Costa
really needed in Win 2003 environments. The documentation links that Larry sent are already for the 1.7 version. If you will give a try, please remember to completly remove the current Cygwin installation. Then give us feedback if it behaved better. ___ Julio Costa -- Problem reports

Re: 1.7.0-51: Problem using ssh public/private key authentication

2009-07-23 Thread Julio Costa
r/sbin/sshd -ddde Then you can try to connect to your PC and see if the generated output gives you any clue. NOTE: It's possible that the problem doesn't show up in this debugging mode. You will be running the sshd deamon as yourself, not as the SYSTEM account. ___ Julio Costa --

Re: popup consoles on Windows 7

2009-07-04 Thread Julio Costa
same flashes as the 20090703 snapshot.  The new > .exe file is in here: > > http://cygwin.com/snapshots/cygwin-inst-20090704.tar.bz2 > Thanks for looking (hard) into this. I've no Win7 right now, but I already downloaded a copy, just because of these matters. I'll try it dur

Re: popup consoles on Windows 7

2009-07-03 Thread Julio Costa
On Fri, Jul 3, 2009 at 11:44, Corinna Vinschen wrote: > On Jul  3 10:18, Julio Costa wrote: >> Let me rephrase that in three questions: >> "What happens if we launch commands without a console created?" > > That's actually the same question as the next one, isn

Re: popup consoles on Windows 7

2009-07-03 Thread Julio Costa
On Thu, Jul 2, 2009 at 18:44, Christopher Faylor wrote: > On Thu, Jul 02, 2009 at 05:41:18PM +0100, Julio Costa wrote: >>HKCU\Console\\WindowPosition = 0x80008000,  where >>is the name of current command being launched >> >>Yes, I know, more klumsy workaround... I

Re: popup consoles on Windows 7

2009-07-02 Thread Julio Costa
On Sun, Jun 28, 2009 at 11:30, Corinna Vinschen wrote: > On Jun 27 09:39, Andy Koppe wrote: >> 2009/6/26 Corinna Vinschen: >> > On Jun 26 15:08, Julio Costa wrote: >> >> I've been following this discussion, crossing fingers to someone came >> >>

Re: popup consoles on Windows 7

2009-06-26 Thread Julio Costa
? 2) IF the two answers are true, then 2.a) Do an arbitary process can do an attachconsole to the PID of that service? IF it is also an YES, we have a framework for an workaround/alternative implementation! Cool? (crossing fingers) ___ Julio Costa -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: [1.7] does LD_PRELOAD support more than 1 dll ?

2009-05-29 Thread Julio Costa
don't know if it still stands up to date, but after a minor googling, I stumbled upon this message: http://www.cygwin.com/ml/cygwin-cvs/2005-q2/msg00031.html Where it reads: "* hookapi.cc (ld_preload): Use colon as a separator rather than space." So, it might worth the test :) H

Re: [cygcheck] produces repeated output - 6 times!

2009-05-04 Thread Julio Costa
lowed by)** PROGRAM **(and THEN)** [ -v ] [ -h ] So, at least, a doc bug. Unfortunately, I'm so doc biased, that I had to do source code analysis to came to this simple conclusion - fortunately, YMMV :) Also, besides the usage message issue, I think that it should had complained about the i

[cygcheck] produces repeated output - 6 times!

2009-04-28 Thread Julio Costa
row. I was expecting a verbose (although useful) output, like the version numbers for libraries and such... Bug in cygcheck? Or bug in user? :) ___ Julio Costa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html

Re: [openssh] service with domain user

2009-04-22 Thread Julio Costa
, forget this question, sorry for the noise... ___ Julio Costa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: [openssh] service with domain user

2009-04-22 Thread Julio Costa
lem also. >> Is the reported output in my previous email as expected? > > No.  The account is missing the other rights I talked about in my first > reply. I know that is missing rights. That's wasn't my question. I'll try to rephrase: "Shouldn't th

Re: [openssh] service with domain user

2009-04-21 Thread Julio Costa
On Tue, Apr 21, 2009 at 16:31, Corinna Vinschen wrote: > On Apr 21 14:56, Julio Costa wrote: >> >> I thought that the correct permissions/privileges were assigned in the >> ssh-host-config... isn't that so? How do I find what is missing? > > No, ssh-host-config can

[openssh] service with domain user

2009-04-21 Thread Julio Costa
cyg_server -l Error in getSID (LsaLookupNames returned 0xc18c=STATUS_TRUSTED_DOMAIN_FAILURE)! ~ $ editrights -u DOMAIN\\SECSERVICE -l SeServiceLogonRight Have Fun! (I'm not) ___ Julio Costa -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports:

Re: [openssh] unnatended instalation + forcing service account

2009-04-16 Thread Julio Costa
isplay improvement (explicit reference to the sshd service). I just didn't add that because it was not being used in the original code, and I though that there would be a design reason behind that - like, for example, always force the privileged account selection algorithm to run, even if there

Re: [openssh] unnatended instalation + forcing service account

2009-04-16 Thread Julio Costa
On Wed, Apr 15, 2009 at 16:38, Julio Costa wrote: > > I'm a bit in the busy side right now, but you can count with that > patch until tomorrow, at most. > Here it is (in attachment). ~ $ cygcheck -c openssh Cygwin Package Information Package Version

Re: [openssh] unnatended instalation + forcing service account

2009-04-15 Thread Julio Costa
On Wed, Apr 15, 2009 at 15:00, Charles Wilson wrote: > Julio Costa wrote: >> Came to think of it, there is also another possibility (and a simpler >> one), and that is to code the --yes option on the ssh-host-config to >> use the (new) -f option to the csih, avoiding coding t

Re: [openssh] unnatended instalation + forcing service account

2009-04-15 Thread Julio Costa
On Wed, Apr 15, 2009 at 09:31, Corinna Vinschen wrote: > On Apr 14 18:55, Julio Costa wrote: >> Now that Chuck has released a new csih, maybe also the possibility to >> use an alternative account could be added to this patch... >> Can you look into this, please? This is also

[openssh] unnatended instalation + forcing service account

2009-04-14 Thread Julio Costa
comfortable with that, I can look into 'upgrading' that patch myself, and then get back to the list, because I really need this. It's just that I don't want to bump into your work just in case you are already looking into this subject. Ping? Have fun! ___ Julio Costa

Re: csih: Unattended installations are not possible

2009-03-25 Thread Julio Costa
Sorry. Dumb gmail mailer wrapped some lines. Here are the patches, in attachments. Have Fun! ___ Julio Costa Charles Kettering - "My interest is in the future because I am going to spend the rest of my life there." cygwin-service-installation-helper.sh.diff Description: B

Re: csih: Unattended installations are not possible

2009-03-25 Thread Julio Costa
t -p sshd listens on port n." echo " --pwd-wUse \"pwd\" as password for privileged user." @@ -489,7 +497,7 @@ fi # Create /var/empty file used as chroot jail for privilege separation -csih_make_dir "${LOCALSTATEDIR}/empty" "Cannot cr

Re: [1.7] passwd: useless if used with a logged on domain user

2009-03-23 Thread Julio Costa
On Mon, Mar 23, 2009 at 16:40, Corinna Vinschen wrote: > On Mar 23 15:33, Julio Costa wrote: >> On Mon, Mar 23, 2009 at 14:59, Corinna Vinschen wrote: >> > Using CheckTokenMembership isn't quite the way to go.  If I understand >> > you right that the idea is just ch

Re: [1.7] passwd: useless if used with a logged on domain user

2009-03-23 Thread Julio Costa
Yes, of course. That is the primary/historical use of passwd, after all. >> But I'll keep trying to achieve a stable version. Unless, of course, >> you think that this is not "the way"(tm) to do it... > > Using CheckTokenMembership isn't quite the way