X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <12e24baa0908080959u7bd1125cm63d36d3c61d85214@mail.gmail.com> References: <12e24baa0908080959u7bd1125cm63d36d3c61d85214 AT mail DOT gmail DOT com> Date: Sat, 8 Aug 2009 23:12:43 +0200 Message-ID: <6910a60908081412p223cbc92rc17231c62d51098c@mail.gmail.com> Subject: Re: problems with cron & permissions From: Reini Urban To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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/ http://murbreak.at/ -- 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