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: 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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