delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/16/17:34:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: RE: Unable to delete a number of directories...
Date: Wed, 16 Feb 2005 16:34:26 -0600
Message-ID: <B1FAB0BF7755FC4597FBCFBDE66EA4A601682F7E@DCEVS1.tekelec.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Aitken, Sean" <Sean DOT Aitken AT tekelec DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 16 Feb 2005 22:34:27.0673 (UTC) FILETIME=[AC71CC90:01C51477]
X-IsSubscribed: yes
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019