www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/04/11:38:04

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B193A6C.4060405@cygwin.com>
Date: Fri, 04 Dec 2009 11:35:56 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem with bash script running under NT AUTHORITY\SYSTEM
References: <26617039 DOT post AT talk DOT nabble DOT com> <4B16EE8D DOT 3070905 AT gmail DOT com> <26617812 DOT post AT talk DOT nabble DOT com> <4B16EF31 DOT 60102 AT cygwin DOT com> <1ef5a52f0912040046r745bebe5l8c6053d022425c7b AT mail DOT gmail DOT com>
In-Reply-To: <1ef5a52f0912040046r745bebe5l8c6053d022425c7b@mail.gmail.com>
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

On 12/04/2009 03:46 AM, Csaba Raduly wrote:
> On Wed, Dec 2, 2009 at 11:50 PM, Larry Hall (Cygwin)  wrote:
>> Remember, SYSTEM is not you.
>
> Unless Louis XIV was a Cygwin user, in which case he might have said
>
> Le systéme, c'est moi!

:-)

> On Thu, Dec 3, 2009 at 5:02 PM, Almo<>  wrote:
>>
>> Ok, it's that SYSTEM running through cygwin has no access to the disk.
>>
>> So someone else wrote the script to run in DOS, and we've dropped the idea
>> of scripting scheduled tasks with cygwin. Unless I can figure out how to get
>> SYSTEM access to the disk through it. :)
>
> Perhaps  NT AUTHORITY/SYSTEM should be given access rights to the
> appropriate directory (right click, Properties, Security). It's just
> an "account" like any other.
> I'm somewhat puzzled though. On my machine, SYSTEM has full access to
> C:. Is this a network drive ?

Certainly the OP or any individual is within their rights (assuming they are 
the
system admin) to add the access needed.  Or a different user with these 
permissions
and any others needed could be created and the service could be run under 
this new
user instead.  This, of course, isn't a "Cygwin thing" and won't be 
automated by Cygwin.
I'm pretty confident that you weren't suggesting it should be automated but 
I figured I'd
point this out for the sake of the archives.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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