delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/04/06:56:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Kurt Franke <Kurt-Franke AT web DOT de>
Subject: Re: Undo taking of ownership of LocalService & NetworkService file trees
Date: Mon, 4 Jul 2011 10:55:49 +0000 (UTC)
Lines: 21
Message-ID: <loom.20110704T125143-774@post.gmane.org>
References: <CAGU3OVyc5_0HraY2AepSNVmJiJapQW1M4U8m6AYiDkJFxr2BrQ AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
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

Andrew Hancock <andymhancock <at> gmail.com> writes:

... something deleted
> 
> Would it suffice to use chown to force ownership back to the strings
> "LOCAL SERVICE" and "NETWORK SERVICE"?  Or is something deeper
> required to ensure complete and proper ownership transferral?
> 
Andrew

just add the following entries to your /etc/passwd file:

LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::

this will allow you
chown LocalService ...
or the same with NetworkService

kf



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