delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/08/08/17:12:58

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 <rurban AT x-ray DOT at>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019