can modify file on network drive, but cannot create files

2011-05-11 Thread Xianwen Chen
Hi Cygwiners, I need a hint. The network drive (\server\) is mounted as H:\. Cygwin can access files on H drive; can modify/delete files on H drive; however, it cannot create files. The program says permission denied. Do I need to write some configuration files? Xianwen -- Backup email: v...

Re: can modify file on network drive, but cannot create files

2011-05-11 Thread Thomas Wolff
Hi Cygwiners, I need a hint. The network drive (\server\) is mounted as H:\. Cygwin can access files on H drive; can modify/delete files on H drive; however, it cannot create files. The program says permission denied. Do I need to write some configuration files? Xianwen What kind of networ

Re: can modify file on network drive, but cannot create files

2011-05-11 Thread Xianwen Chen
Hi Thomas, Thanks a lot for your email! The remote server runs Windows Server 2008 R2 Enterprise. I have not exceeded the quota. Cygwin cannot delete files on H in both root and sub directories. Xianwen On Wed, May 11, 2011 at 9:22 AM, Xianwen Chen wrote: > Hi Thomas, > > Thanks a lot for yo

Re: can modify file on network drive, but cannot create files

2011-05-11 Thread Xianwen Chen
Hi Thomas, Thanks a lot for your email! The remote server runs Windows Server 2008 R2 Enterprise. I have not exceeded the quota. Cygwin cannot delete files on H in both root and sub directories. Xianwen On Wed, May 11, 2011 at 9:12 AM, Thomas Wolff wrote: > >> Hi Cygwiners, >> >> I need a hi

Re: can modify file on network drive, but cannot create files

2011-05-11 Thread Thomas Wolff
Hi Thomas, Thanks a lot for your email! The remote server runs Windows Server 2008 R2 Enterprise. I have not exceeded the quota. Cygwin cannot delete files on H in both root and sub directories. Xianwen OK, in your first message you wrote you can delete but not create files which would hav

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Corinna Vinschen
On May 10 15:07, Andrew Schulman wrote: > > a session that I detached on the same tty just seconds before. > > > > 3. chmod 666 on the socket file did not work (its permissions were > > already 644, owned my 'morse', as shown in my original session long). > > No, I suggested that you try 0600, o

Re: can modify file on network drive, but cannot create files

2011-05-11 Thread Xianwen Chen
Hi Thomas, Thanks a lot! On Wed, May 11, 2011 at 9:33 AM, Thomas Wolff wrote: > > OK, in your first message you wrote you can delete but not create files > which would have been strange. I'm sorry that my bad command of English confused you. This is what I wanted to say: Cygwin can modify and

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Corinna Vinschen
On May 11 09:34, Corinna Vinschen wrote: > On May 10 15:07, Andrew Schulman wrote: > > > a session that I detached on the same tty just seconds before. > > > > > > 3. chmod 666 on the socket file did not work (its permissions were > > > already 644, owned my 'morse', as shown in my original sessi

Re: Who's using "CYGWIN=tty" and why?

2011-05-11 Thread David Antliff
On Wed, May 11, 2011 at 18:34, Corinna Vinschen wrote: > On May 10 17:17, Len Giambrone wrote: >> We use windows native jam which spawns any number of cmd, cygwin, or studio >> processes. >> If we spawn it from a Cygwin terminal that doesn't have CYGWIN=tty set, we >> get: > > I assume that most

Re: how to use windres.exe without installing cygwin?

2011-05-11 Thread ironsand
Hi Corinna, thanks for your answer. Of course I'm aware of GPL. I'll provide it with source code. >You can't. Windres is a Cygwin tool using the Cygwin DLL. Gcc is a >Cygwin tool using the Cygwin DLL. Either you provide *all* the stuff >required to run the script (and don't forget to provide

Re: how to use windres.exe without installing cygwin?

2011-05-11 Thread ironsand
Hi Chuck, Charles Wilson-2 wrote: > > Well, OUR windres is a cygwin tool. You can, of course, use the > mingw.org or mingw64.sf version of windres. They each have their own > list(s) of dependencies, but cygwin1.dll is not one of them. > Thanks for tips. If I can't make to work my script wi

ssh - Could not create directory 'c/.ssh'.

2011-05-11 Thread Tim Allen
Hi I have happily used Cygwin ssh from "DOS" command prompt for many years but on upgrading to V1.7 get this error message. Further info: OS: Vista /etc/passwd line: tda:unused_by_nt/2000/xp:1000:513:U-laptop1\tda,S-1-5-21-2414507100-3802266639-3593817948-1000:/home/tda:/bin/bash The int

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Andrew Schulman
> On May 10 15:07, Andrew Schulman wrote: > > > a session that I detached on the same tty just seconds before. > > > > > > 3. chmod 666 on the socket file did not work (its permissions were > > > already 644, owned my 'morse', as shown in my original session long). > > > > No, I suggested that y

Re: ssh - Could not create directory 'c/.ssh'.

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 6:44 AM, Tim Allen wrote: Hi I have happily used Cygwin ssh from "DOS" command prompt for many years but on upgrading to V1.7 get this error message. Further info: OS: Vista /etc/passwd line: tda:unused_by_nt/2000/xp:1000:513:U-laptop1\tda,S-1-5-21-2414507100-3802266639-3593817948

strptime doesn't fill in tm_wday and tm_yday.

2011-05-11 Thread Peter Rosin
Hello! The following STC hints at a problem in strptime: ---8< #include #include int main(void) { /* seed tm with some garbage */ struct tm tm = { 0, 0, 0, /* s m h */ 0, 0, 0, /* d m y */

Re: Who's using "CYGWIN=tty" and why?

2011-05-11 Thread Edward Lam
On 5/11/2011 2:34 AM, Corinna Vinschen wrote: Kind of weird. The difference is that in tty mode the stdio handles are pipes, while in the notty case the stdio handles are console handles. Usually native Windows applications shouldn't see a difference and even work *better* in notty mode. One p

Problem with rebaseall 3.0.1-1

2011-05-11 Thread fidelcastro
When doing rebaseall on a win 7 64 bit I got the following error: FixImage (/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll) failed with last error = 13 This blog http://ajaywhiz.posterous.com/installing-nodejs-on-windows-7 reports the same error and suggests the following

Re: Who's using "CYGWIN=tty" and why?

2011-05-11 Thread Christopher Faylor
On Wed, May 11, 2011 at 11:02:40AM -0400, Edward Lam wrote: >On 5/11/2011 2:34 AM, Corinna Vinschen wrote: >> Kind of weird. The difference is that in tty mode the stdio handles are >> pipes, while in the notty case the stdio handles are console handles. >> Usually native Windows applications shou

Re: Who's using "CYGWIN=tty" and why?

2011-05-11 Thread Andy Koppe
On 11 May 2011 16:02, Edward Lam wrote: > On 5/11/2011 2:34 AM, Corinna Vinschen wrote: >> >> Kind of weird.  The difference is that in tty mode the stdio handles are >> pipes, while in the notty case the stdio handles are console handles. >> Usually native Windows applications shouldn't see a diff

Re: Who's using "CYGWIN=tty" and why?

2011-05-11 Thread Edward Lam
On 5/11/2011 11:02 AM, Edward Lam wrote: So this brings us to Cygwin. When we spawn such a Windows mode app from Cygwin, the method I describe above fails. The call to _open_osfhandle(info.hStdOutput, _O_TEXT) returns with an error value of -1. This is likely why jam reports "the handle is invali

Re: strptime doesn't fill in tm_wday and tm_yday.

2011-05-11 Thread Corinna Vinschen
On May 11 16:52, Peter Rosin wrote: > Hello! > > The following STC hints at a problem in strptime: > > ---8< > #include > #include > > int > main(void) > { > /* seed tm with some garbage */ > struct tm tm = { > 0, 0, 0,

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Edward McGuire
On Wed, May 11, 2011 at 02:34, Corinna Vinschen wrote: > And you know, what have the romans ever done for us? ... apart from better sanitation and medicine and education and irrigation and public health and roads and a freshwater system and baths and public order ... -- Problem reports: htt

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Corinna Vinschen
On May 11 13:08, Edward McGuire wrote: > On Wed, May 11, 2011 at 02:34, Corinna Vinschen wrote: > > And you know, what have the romans ever done for us? > > ... apart from better sanitation and medicine and education and > irrigation and public health and roads and a freshwater system and > baths

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Christopher Faylor
On Wed, May 11, 2011 at 09:32:06PM +0200, Corinna Vinschen wrote: >On May 11 13:08, Edward McGuire wrote: >> On Wed, May 11, 2011 at 02:34, Corinna Vinschen wrote: >> > And you know, what have the romans ever done for us? >> >> ... apart from better sanitation and medicine and education and >> irr

Re: GNU screen on Cygwin: Cannot seem to reattach, no matter what I try

2011-05-11 Thread Doug Morse
Hi Andrew and Corinna, Yep, something about FAT32 appears to be the problem. As Corinna correctly notes, permissions are faked on FAT32. Doesn't matter what chmod I run, it's all 644 or 755. Apparently, GNU screen does not like this, but apparently it also doesn't give any error message that th

Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread CygwinNoob
cygwin 1.7.7-1 Windows 2008 64-bit I have a script that I am trying to run from cron that copies a local file on a Windows 2008 server to a UNC path on another Windows 2008 server. It works fine in a non-Production environment, but not in Production and I can't figure out why. Yes, I've dutiful

Re: ssh - Could not create directory 'c/.ssh'.

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 5:04 PM, Tim Allen wrote: Hi Larry On 11/05/11 15:45, Larry Hall (Cygwin) wrote: On 5/11/2011 6:44 AM, Tim Allen wrote: Hi I have happily used Cygwin ssh from "DOS" command prompt for many years but on upgrading to V1.7 get this error message. Further info: OS: Vista /etc/passw

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 8:50 PM, CygwinNoob wrote: cygwin 1.7.7-1 Windows 2008 64-bit I have a script that I am trying to run from cron that copies a local file on a Windows 2008 server to a UNC path on another Windows 2008 server. It works fine in a non-Production environment, but not in Production and

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread CygwinNoob
Thanks for responding so quickly! I will try using the forward slashes in Production. It may take a few days because I don't have direct access to the Production environment and I have to go through sort of remote hands. The source server queries Oracle databases through shell scripts running i

why cygwin have access to all the users in Windows

2011-05-11 Thread solde9
Hi I am newbie to cygwin. I am surprised at how cygwin have access to those directories belonging to users with a password and private access, that normally cannot be accessed from the normal Windows environment. How this happens? -- View this message in context: http://old.nabble.com/why-cygwin

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 9:20 PM, CygwinNoob wrote: Thanks for responding so quickly! I will try using the forward slashes in Production. It may take a few days because I don't have direct access to the Production environment and I have to go through sort of remote hands. The source server queries Oracle

Re: why cygwin have access to all the users in Windows

2011-05-11 Thread Corinna Vinschen
On May 11 19:20, solde9 wrote: > > Hi I am newbie to cygwin. I am surprised at how cygwin have access to those > directories belonging to users with a password and private access, that > normally cannot be accessed from the normal Windows environment. How this > happens? Every admin has these rig