X-Recipient: archive-cygwin@delorie.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@mail.gmail.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 <rurban@x-ray.at>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

