Undo taking of ownership of LocalService & NetworkService file trees

Kurt Franke Kurt-Franke@web.de
Mon Jul 4 10:56:00 GMT 2011

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?

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


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

More information about the Cygwin mailing list