X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1071fe6e81=killing AT multiplay DOT co DOT uk X-Envelope-From: killing AT multiplay DOT co DOT uk X-MDaemon-Deliver-To: cygwin AT cygwin DOT com Message-ID: <83D9FB620178474D8B7E673F8BE88FBF@multiplay.co.uk> From: "Steven Hartland" To: References: <20080703125758 DOT GC10582 AT calimero DOT vinschen DOT de> <9519CD6573CA4B378AB436808C330A8C AT multiplay DOT co DOT uk> <20080704085528 DOT GH10582 AT calimero DOT vinschen DOT de> Subject: Re: chmod permission denied on windows 2008 Date: Fri, 4 Jul 2008 23:06:30 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 04 Jul 2008 23:06:35 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 04 Jul 2008 23:06:35 +0100 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com ----- 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 for the backup and restore > rights both fail with ERROR_NOT_ALL_ASSIGNED. The problem is that > there's no indication why it fails. Per MSDN this should only happen > if the privilege is not in the token. > > Bottom line is, there's nothing Cygwin can do about this. Did you > look into the security event long? Maybe there's a hint why this > fails. You thought that was weird I just logged onto the box to test and look in the security event log and it just started working. No changes that I can find have been made, it was even the same cygwin prompt from the previous tests. If I find out what caused the change I will report back as I have another identical machine left to install. Very strange, most appreciate your help on this. Regards Steve -- 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/