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: <4B16EF31.60102@cygwin.com> Date: Wed, 02 Dec 2009 17:50:25 -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> In-Reply-To: <26617812.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/02/2009 05:39 PM, Almo wrote: > Regarding Moss's suggestion, I did an echo `pwd` in there, and it IS in the > directory I think it is. I do an explicit cd command to make sure of that. > > The missing slash is a typo in the message, sorry about that. I've copied > gzip.exe into my working directory, and I refer to it as ./gzip. It has > stopped telling me the file is missing. > > However, it still doesn't zip anything. But it doesn't output to error.log, > and it doesn't get to the next command, either. I've tried removing the > existing .gz files in case it was a permission issue, but it still doesn't > produce a .gz file. > > I've tried running the script again logged in as me, and it works fine. So I > don't think there are any majorly silly typos left. Remember, SYSTEM is not you. It doesn't have your environment or your access rights. You need to be very careful and explicit with paths, files, and their permissions. Whatever permissions and paths you have in your environment has to be replicated in some way for things to work like they do when you run them. -- 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