X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Sat, 2 Jul 2011 23:28:58 -0400 Message-ID: Subject: Undo taking of ownership of LocalService & NetworkService file trees From: Andrew Hancock To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On a Windows XP system, I was using an administrator account to take ownership of file trees belonging to deleted accounts, with the aim of deleting those file trees. Unfortunately, I issued a recursive chown from "c:\Documents and Settings" rather than "c:\Documents and Settings\DeletedUser". Now the LocalService and NetworkService file trees are also owned by Administrator. I checked another XP system to find that these file trees should belong to LOCAL SERVICE and NETWORK SERVICE, respectively. I can't seem to be able to use the Windows method of assigning ownership back to these original owners because they don't show up in the list of names that I am given to choose from, presumably because they are not normal accounts. (The panel for doing this is accessed by pulling up a file/folder's Properties panel, choosing Security tab, clicking Advanced to bring up Advanced Security Settings panel, and choosing the Owner tab). 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? -- 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