| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; q=dns; s=default; b=pp | |
| gHZg1qz3WOxIV1qp7sSCv1GtlBoxsMlctieEo6zY5ay2y0SzcsqNxIr6GHG55pjl | |
| pAkrnHMDcMnaz7CZUaFp9QMGmP7/bniNbp3QrAmUUIbJatmbWcuYdyjJktkRboWF | |
| 3e7/0ZhHZGi3jA5UdIphtvGYRrxEC9S84ESIXWd6s= | |
| DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
| :list-unsubscribe:list-subscribe:list-archive:list-post | |
| :list-help:sender:mime-version:in-reply-to:references:date | |
| :message-id:subject:from:to:content-type; s=default; bh=ISth6vRI | |
| OgXDxyH7leLS0rFBq14=; b=nbtBIBVkyfu4vBvbXAOKamxjFFVbGvKhXVfc57sc | |
| 2fr4LMzVp50k7ncPSNI21WG52q7THID+v9RvYuy4fMMOcVHvnKEvoW5YMQLjZMlr | |
| H/Rgoh/WCobo3Tj1wO/LokcjqXuGsWqEo/4JmN94qAs3OAABcxUgl8IyIM08MwFD | |
| yNI= | |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| 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 |
| Authentication-Results: | sourceware.org; auth=none |
| X-Virus-Found: | No |
| X-Spam-SWARE-Status: | No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 |
| X-HELO: | mail-ig0-f182.google.com |
| MIME-Version: | 1.0 |
| X-Received: | by 10.107.39.72 with SMTP id n69mr51072971ion.8.1428635148862; Thu, 09 Apr 2015 20:05:48 -0700 (PDT) |
| In-Reply-To: | <CADi7v6++4rbLPD0ZuCMrnONs+kYFMFf6hhS_0SXVGSNwoMTtNg@mail.gmail.com> |
| References: | <CAAXzdLUZvdNw_UyOXMa5ozoGuG7zjPnz=rRLELFBoEF8+miZUA AT mail DOT gmail DOT com> <CAAXzdLUgnjfeA=LkrdUp68zHterj5hj5BtLqh0W=TCAn1zPrpQ AT mail DOT gmail DOT com> <20150409074328 DOT GO2819 AT calimero DOT vinschen DOT de> <CAAXzdLV4=f5hbmKH_6r6GM=cF4bw0QXqkmivZCh2M4y5ATagxA AT mail DOT gmail DOT com> <CADi7v6++4rbLPD0ZuCMrnONs+kYFMFf6hhS_0SXVGSNwoMTtNg AT mail DOT gmail DOT com> |
| Date: | Thu, 9 Apr 2015 22:05:48 -0500 |
| Message-ID: | <CAAXzdLWbVS9g4zbn9WBVinighLy1NkA++iWm1MEyTd3b0bWrHw@mail.gmail.com> |
| Subject: | Re: setfacl can kill a drive |
| From: | Steven Penny <svnpenn AT gmail DOT com> |
| To: | cygwin AT cygwin DOT com |
| X-IsSubscribed: | yes |
On Thu, Apr 9, 2015 at 7:57 PM, Bryan Berns wrote:
> you can probably use icacls /save AclFile to "record" the standard drive
> permissions and them apply it to the problem drive using icacls /restore.
I am not sure this is the answer. Even ignoring setfacl, I was unable to restore
acl on the root. Note again this is on a pristine virtual machine, I tried "C:"
first:
> icacls C: /save C:\acl.txt
processed file: C:
Successfully processed 1 files; Failed processing 0 files
> icacls C: /restore C:\acl.txt
C:D:(A;OICIID;FA;;;SY)(A;OICIID;FA;;;BA)
(A;OICIID;FA;;;S-1-5-21-2140265281-1110791277-259586168-1000):
The system cannot find the file specified.
Successfully processed 0 files; Failed processing 1 files
Then "C:\"
> icacls C:\ /save C:\acl.txt
processed file: C:\
Successfully processed 1 files; Failed processing 0 files
> icacls C:\ /restore C:\acl.txt
C:\D:PAI(A;;FA;;;BA)(A;OICIIO;GA;;;BA)(A;;FA;;;SY)(A;OICIIO;GA;;;SY)
(A;OICI;0x1200a9;;;BU)(A;OICIIO;SDGXGWGR;;;AU)(A;;LC;;;AU)S:
(ML;OINPIO;NW;;;HI):
The filename, directory name, or volume label syntax is incorrect.
Successfully processed 0 files; Failed processing 1 files
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |