X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47ACF49D.9070407@free.fr> Date: Sat, 09 Feb 2008 01:32:29 +0100 From: Sylvain RICHARD User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Uninstalling Cygwin References: <20080208152939 DOT GD31070 AT ednor DOT casa DOT cgf DOT cx> <47AC9E75 DOT 3050709 AT free DOT fr> <20080208184038 DOT GA2996 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20080208184038.GA2996@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Christopher Faylor wrote: > On Fri, Feb 08, 2008 at 07:24:53PM +0100, Sylvain RICHARD wrote: > >> I have to say that I agree with cgf. I should have looked in the FAQ >> before, it would have saved some typing. I have had exactly the same >> issue before and perhaps didn't find the answer at that time. People >> who come from a UNIX background tend to use chown or chmod but may have >> already deleted chown.exe and chmod.exe. Perhaps adding the exact >> cacls invocation in the FAQ would be helpful >> > > Good point. Do you (or anyone) want to suggest some wording for that > section of the FAQ? > > cgf > Not fully tested as I do not have full control over the machine I work on now, but something along the lines of: - run takeown /f c:\cygwin /a /r /d y cacls c:\cygwin0 /t /g Administrators:F - delete c:\cygwin in Explorer should be a start. However, 1) This is for English versions of Windows only: /d y (answer "yes") can become /d o("oui"), and perhaps /d j("ja"), /d s("si"),... "Administrators" is localized too 2) http://www.ss64.com/nt/cacls.html says: "Errors when changing permissions If a user or group has a permission on a file or folder and you grant a second permission to the same user/group on the same folder, NTFS will sometimes produce the error message "The parameter is incorrect" To fix this (or prevent it happening) revoke the permission first (/e /r) and then reapply (/e /g)" Good night Sylvain RICHARD -- 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/