delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/08/19/22:29:51

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:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=FyaKjt0l3x1fUpLEfEGDFd6wQj5GA
CJ3zQIsRU1LH7QeFV/4ESswIpy5bfk3RG6V+WFR5CN9Ix/EUpvuTdvZOcZobblW+
bQ549b+jhUclqbZzXPU0dXvXmRtG+aA9dsHGX8TEhn5XZd/9WvJcd0GyS/ASVtwd
QvKKVvCcyzOGts=
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:from:date:message-id:subject:to
:content-type; s=default; bh=R1GVxUusLQETVI44Nhe+lHf9qv8=; b=UV6
TnZL3kQdnnidykWbn3LbqFREJqnKuxymX+l8f4O9/suIW1lO6rN6wWSKcBhJBzML
MhYvPU68JHfG1TLn1uv1uVbt7N/yoTdUbkc+qYn7pZCS8ilvuoWQr1gR7hAWFf24
71NiKcedOHeZINuFRwNO9eFQxTEKIXE+YFWFgjNA=
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 spammy=Hx-languages-length:589, vein, lee, Lee
X-HELO: mail-qk0-f172.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sbAyOtLyOxzOCdwPCI8fIU51GEuj0Mmqgy9AgJZBtic=; b=NuwCRQPAD672+0Cmf+ss9n3DuOm0SbOkPD+BpLzTKO1WeQSrt0Qz8rcNHpnUkHrMWB FANClV2uW8DHygWkKZwOUEaQFURCjrHFJSi2DEX5me7/0Xijuci4l34je/yGFxN9RZT/ jEAJlhtyQ+cs4wTPGdzkd+hxfI1e7ePJjSqZVbcsJqghKpjsNZH3IvRB9xuwc4SFIfFb 9u1eqeVvIEQ/fdVlloTjFK13FpL1ylpMt84j/rxM3Rzyu0NsBFVah5qtwNGqcn+CiKq/ F2YK+4HiI52K3Udwh+xHDXpjeULFHG0Q7kyMCf5d9Mh70mMOSG2b9HoFV72u70mtG8Co HTYA==
X-Gm-Message-State: AE9vXwPKh/gSF3Bny8ed8iWk1apTR3Q3mTvGJPu4RG4vnfgrnaqaIa6sjhR6xhwefPukwoIf71CA78iprZtjgA==
X-Received: by 10.55.23.12 with SMTP id i12mr12397055qkh.213.1471660171832; Fri, 19 Aug 2016 19:29:31 -0700 (PDT)
MIME-Version: 1.0
From: David Lee <mailtolky AT gmail DOT com>
Date: Sat, 20 Aug 2016 10:29:31 +0800
Message-ID: <CALiPeun0SZOuDwUAPqsg_oX21QdZhSUR34UZ2+Y4_Zbe-OzPBQ@mail.gmail.com>
Subject: Reset Cygwin directory tree permissions
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Hi all,

I came across some discussions on fixing a botched *Linux* file
system. Specifically someone did a massive 'chmod -R 755' / and asked
how to restore the file system permissions.

In a similar vein, I would like to ask:

Suppose I did a 'clean sweep' of a *Cygwin* directory permissions via
'chmod -R 755 /', or even by using Windows specific (non-Cygwin) tools
like icacls.exe, or by using the Windows Explorer. Is there a way to
restore the proper permissions to the Cygwin tree other than a
reinstall.

Thanks for your help.

David Lee.

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

- Raw text -


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