X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <6910a60908081412p223cbc92rc17231c62d51098c@mail.gmail.com> References: <12e24baa0908080959u7bd1125cm63d36d3c61d85214 AT mail DOT gmail DOT com> <6910a60908081412p223cbc92rc17231c62d51098c AT mail DOT gmail DOT com> Date: Sun, 9 Aug 2009 13:29:38 +1000 Message-ID: <12e24baa0908082029p5b0d1a6dt91d61be43c45081a@mail.gmail.com> Subject: Re: problems with cron & permissions From: michael trott To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 I had already set Cron to run as my service from within Cygwin, and also under services.msc Cron is running as me. Are they the only two area's it need to me set? thanks, i really appreciate it :) On Sun, Aug 9, 2009 at 7:12 AM, Reini Urban wrote: > 2009/8/8 michael trott: >> sure uve heard it all before. trying to get cron to backup my system >> to a samba share thats mounted to a local drive. i can run the script >> and back up fine. This is my crontab: > > Try the same as user SYSTEM and not as your local user and you will > get the same error. > > The solution is to change the properties of the cron service to run > under your local user account. > SYSTEM does not have access to remote samba shares. > -- > Reini Urban > http://phpwiki.org/ =A0 =A0 =A0 =A0 =A0 http://murbreak.at/ > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- 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