Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" On Jul 7 17:12, Steven Hartland wrote: I know its cheaky but I dont suppose you could shed any light on my other thread regards 2008 support:- "apache crashing on windows 2008 when listening on localhost" Sorry, but no. There's other wo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 17:12, Steven Hartland wrote: > I know its cheaky but I dont suppose you could shed any light on my > other thread regards 2008 support:- > "apache crashing on windows 2008 when listening on localhost" Sorry, but no. There's other work I have to do and I'm also not keen on debugging a m

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 17:47, Dave Korn wrote: > Steven Hartland wrote on 07 July 2008 17:12: > > From: "Corinna Vinschen" > >> The DLL has been build with VC++ due to the lack of a 64 bit capable gcc > >> for Cygwin. As long as this is the case, rebaseall will have to be > >> changed to skip cyglsa.dll and cy

RE: chmod permission denied on windows 2008

2008-07-07 Thread Dave Korn
Steven Hartland wrote on 07 July 2008 17:12: > - Original Message - > From: "Corinna Vinschen" >> >>> One thing I did notice is that rebaseall fails with:- >>> /usr/bin/cyglsa64.dll: fixing bad relocations >>> FixImage (/usr/bin/cyglsa64.dll) failed with last error = 13 >>> >>> As a tempo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" This seems to work fine, is there anything I should be aware of if we looked to use this in production environment? The mount points are now stored in /etc/fstab and /etc/fstab.d/$USER instead of in the system and user registry. There are a

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 15:37, Steven Hartland wrote: > - Original Message - From: "Steven Hartland" >>> Other than that, maybe using the (not yet production) Cygwin 1.7 is >>> an option for you. You can install a 1.7-based distro over your 1.5 >>> distro using another setup.exe: http://cygwin.com/setup

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Steven Hartland" Other than that, maybe using the (not yet production) Cygwin 1.7 is an option for you. You can install a 1.7-based distro over your 1.5 distro using another setup.exe: http://cygwin.com/setup-1.7.exe I'll give this a shot in a bit and let yo

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" <[EMAIL PROTECTED]> After further looking into this issue I fear I can't do anything against that in Cygwin 1.5.25 anymore. There is a strange privilege issue when using impersonation tokens starting with Windows Vista. The root of the pro

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 7 11:02, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" >>> I've attached the output from whoami in both cases. A privaledege >>> missing from the sshd_server user may be? Note: ssh was installed >>> with a slightly older than latest version of cygwin so if t

Re: chmod permission denied on windows 2008

2008-07-07 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" I've attached the output from whoami in both cases. A privaledege missing from the sshd_server user may be? Note: ssh was installed with a slightly older than latest version of cygwin so if this has changed to support 2008 recently that could

Re: chmod permission denied on windows 2008

2008-07-07 Thread Corinna Vinschen
On Jul 4 23:21, Steven Hartland wrote: > Sorry seems I missed one critical element here. I thought I was doing > all the tests under a cygwin prompt but in fact the chown's I was > doing under an ssh'ed prompt. It works under a cygwin prompt on the > desktop but fails when I'm ssh'ed in. So this a

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Steven Hartland" That's weird. Cygwin always enables the backup and restore privileges if they are available. The whoami printout in your previous mail shows that the privilege is in the token. But the above code shows that the AdjustTokenPrivileges() call

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" That's weird. Cygwin always enables the backup and restore privileges if they are available. The whoami printout in your previous mail shows that the privilege is in the token. But the above code shows that the AdjustTokenPrivileges() call

Re: chmod permission denied on windows 2008

2008-07-04 Thread Christopher Faylor
On Fri, Jul 04, 2008 at 11:42:25AM -0500, Gary R. Van Sickle wrote: >> From: Christopher Faylor >> >> On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: >> > Hope this gets through the lists broken spam detection, and >> helps id >> > the issue. >> >> How to Win Friends and Influe

RE: chmod permission denied on windows 2008

2008-07-04 Thread Gary R. Van Sickle
> From: Christopher Faylor > > On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: > > Hope this gets through the lists broken spam detection, and > helps id > > the issue. > > How to Win Friends and Influence People... > > cgf > Please take such Cygwin-content-free snarking to

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Christopher Faylor" Wasn't meant to be derogatory or anything but having to send each mail several times with slightly different wording, layout, subjects as they keep bouncing due to being detected as spam is quite annoying. I see two blocks from you in the

Re: chmod permission denied on windows 2008

2008-07-04 Thread Christopher Faylor
On Fri, Jul 04, 2008 at 09:47:47AM +0100, Steven Hartland wrote: >cgf wrote: >>On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: >>>Hope this gets through the lists broken spam detection, and helps id >>>the issue. >> >>How to Win Friends and Influence People... > >Wasn't meant to be

Re: chmod permission denied on windows 2008

2008-07-04 Thread Corinna Vinschen
On Jul 3 23:22, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" >> You could run this under strace and see what Win32 error message >> you get. It could be helpful. > > Below is the full strace of this, but I think the issue lies where > you suggested looking at:- >

Re: chmod permission denied on windows 2008

2008-07-04 Thread Steven Hartland
- Original Message - From: "Christopher Faylor" On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: Hope this gets through the lists broken spam detection, and helps id the issue. How to Win Friends and Influence People... Wasn't meant to be derogatory or anything b

Re: chmod permission denied on windows 2008

2008-07-04 Thread Corinna Vinschen
On Jul 3 23:19, Steven Hartland wrote: > - Original Message - From: "Corinna Vinschen" > >> Works fine for me on 2008 so I assume some local setting which >> disallows this. Did you remove the "Back up privileg and directories" >> privilege from the admin's account, by any chance? > > The

Re: chmod permission denied on windows 2008

2008-07-03 Thread Christopher Faylor
On Thu, Jul 03, 2008 at 11:22:03PM +0100, Steven Hartland wrote: > Hope this gets through the lists broken spam detection, and helps id the > issue. How to Win Friends and Influence People... cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cy

Re: chmod permission denied on windows 2008

2008-07-03 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" [EMAIL PROTECTED]/: grep testuser /etc/group testuser:S-1-5-32-545:545: Huh? Why did you do that? This is the entry for the Users group. It doesn't seem to make sense to rename it for Cygwin. Purely for compatibility reasons and has work

Re: chmod permission denied on windows 2008

2008-07-03 Thread Steven Hartland
- Original Message - From: "Corinna Vinschen" Works fine for me on 2008 so I assume some local setting which disallows this. Did you remove the "Back up privileg and directories" privilege from the admin's account, by any chance? The info from "whoami /all" indicates that you are c

Re: chmod permission denied on windows 2008

2008-07-03 Thread Corinna Vinschen
On Jul 3 13:25, Steven Hartland wrote: > Running chmod under 2008 simply doesnt seem to work here, > which is really strange. > > [EMAIL PROTECTED]/: id > uid=500(root) gid=513(None) > groups=513(None),544(Administrators),545(testuser) > > [EMAIL PROTECTED]/tmp: touch test > > [EMAIL PROTECTED]/t

Re: chmod: Permission denied

2005-11-07 Thread Igor Pechtchanski
On Mon, 7 Nov 2005, Sam Steingold wrote: > > * Igor Pechtchanski <[EMAIL PROTECTED]> [2005-11-07 13:58:16 -0500]: > > > > On Mon, 7 Nov 2005, Sam Steingold wrote: > > > >> my windows login domain has changed and now I cannot chmod the files > >> that I created when I was logged in using my previou

Re: chmod: Permission denied

2005-11-07 Thread Sam Steingold
> * Igor Pechtchanski <[EMAIL PROTECTED]> [2005-11-07 13:58:16 -0500]: > > On Mon, 7 Nov 2005, Sam Steingold wrote: > >> my windows login domain has changed and now I cannot chmod the files >> that I created when I was logged in using my previous login domain. >> how can I fix this? >> do I need to

Re: chmod: Permission denied

2005-11-07 Thread Igor Pechtchanski
On Mon, 7 Nov 2005, Sam Steingold wrote: > my windows login domain has changed and now I cannot chmod the files > that I created when I was logged in using my previous login domain. > how can I fix this? > do I need to do > find . -exec 'cp -p {} {}.new; mv {}.new {}' \; > (or something)? After y