delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/13/06:05:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.3 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,URI_OBFU_WWW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 13 Aug 2012 06:05:13 -0400
Message-ID: <CAG9p0OTFfN+Za6wikt9Aa-1RqtKKCr7M39YHuwDHNKqbdPjpfQ@mail.gmail.com>
Subject: Cygwin setup scrambled permissions
From: Lord Laraby <lord DOT laraby AT gmail DOT com>
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
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

I just downloaded the latest setup.exe from www DOT cygwin DOT com and
run it as normal selected only updated packages.

However, several errors began to popup in warning windows about files
being in use. However, there was not a single active cygwin process or
service running. That got me suspicious as retry just kept repeating
itself. So, dropping to CMD and running:

dir /Q file  (on several of the bad directies)

showed that they were not accessible - no read, no write, no execute,
no read dac, no take ownership, etc. Not even as a SYSTEM account. (I
have psExec -s) to elevate to SYSTEM status for emergencies like this
one. No a single account has take ownership abilities or even read
owner abilities.

> getfacl -d etc/skel     (for instance)

# file: etc/skel
# owner: ????????
# group: ????????

My /etc/profile and /etc/passwd were just fine before the update.
Everything should have worked. The only files / dirs that were messed
up had today's date.

> uname -a
CYGWIN_NT-6.1-WOW64 Master-PC 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin

> id
uid=1001(Master) gid=513(None)
groups=513(None),545(Users),1007(HelpLibraryUpdaters),1000(HomeUsers)

I am running under an Administrator Group account.

Also, when I ran setup.exe I chose "run as Administrator".

Let me know if you need more information to help out with the diagnosis.

Thanks
-- 
Terry Lincoln

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