delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/11/08:10:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Wed, 11 Jun 2003 14:10:00 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Some useful permission setting scripts
Message-ID: <20030611121000.GC30116@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200306110142 DOT h5B1gJTq014652 AT ms-smtp-01 DOT southeast DOT rr DOT com> <012301c33010$fb8b3480$78d96f83 AT pomello>
Mime-Version: 1.0
In-Reply-To: <012301c33010$fb8b3480$78d96f83@pomello>
User-Agent: Mutt/1.4.1i

On Wed, Jun 11, 2003 at 12:59:59PM +0100, Max Bowsher wrote:
> Max Polk wrote:
> > WARNING:  If you omit "administrators" then if you reinstall Windows,
> >           you can NEVER, NEVER, EVER get to the file again, even as
> >           administrator!  (SOLUTION: use partition magic, convert
> >           your drive to "FAT32" drops the bad permission, then
> >           convert your drive back to "NTFS" which sets default
> >           permissions letting you get to your files again).
> 
> Not true.
> Let me introduce you to an easier way...
> 
> As an Administrator, simply "Take ownership" ( Properties > Security >
> Advanced > Owner, and set it to yourself or Administrators ).
> You can now edit the permissions.

Or even use `chown' in Cygwin as administrator.
Btw., you can also use Cygwin's setfacl instead of cacls.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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