Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Unable to delete a number of directories... Date: Wed, 16 Feb 2005 16:34:26 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Aitken, Sean" To: X-OriginalArrivalTime: 16 Feb 2005 22:34:27.0673 (UTC) FILETIME=[AC71CC90:01C51477] X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j1GMYbvS029514 > >My guess is that it's a Windows NTFS permissions issue. > Assuming you want to > >blow away the entire C:\cygwin tree and start again fresh: log on as > >Administrator, take ownership recursively of the entire > tree, and reset > >permissions recursively of the entire tree. You then should > be able to delete > >it. > > I'm running XP. Never come across this before. I do have > admin rights (this > is my own home machine). I've tried with Windows Explorer and Windows > Commander - I can't even remove the read-only attribute on the file. > > Only thing I see when right clicking that folder is > properties, and if I > uncheck Read-Only, when I hit apply I get access denied. Try configuring Cygwin on the server end to use the "nontsec" option. This causes new files to be created with inherited NT permissions as opposed to the "Unix-Like" permissions. I know this has solved a lot of problems for our team. Just set or modify the global environment variable "CYGWIN" to be include 'nontsec'. Ie: CYGWIN=nontsec HTH! -Sean -- 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/