Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: =?ISO-8859-1?Q?Ren=E9_Berber?= Subject: Re: permission denied errors in script run by cron Date: Sat, 29 Oct 2005 15:36:37 -0500 Lines: 19 Message-ID: References: <200510291846 DOT j9TIkdxV023059 AT gourmet DOT spamgourmet DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: <200510291846.j9TIkdxV023059@gourmet.spamgourmet.com> OpenPGP: url=ldap://keyserver.pgp.com X-IsSubscribed: yes cyg DOT 108 AT xoxy DOT net wrote: > I'm trying to do automated backups with a cron job in cygwin and am > running into permissions issues. (I'm using XP Pro).=20 >=20 > When I run this command from the shell, it works fine -- no errors: >=20 > /bin/cp -uvdR My\ Documents/ /f/Documents\ and\ Settings/Matt/ [snip] Isn't "My Documents" just a link created by Windows when you log in and destroyed when you log out? Why don't you change "My Documents" to [guessing] /c/Documents\ and\ Settings/Matt/My\ Documents ? HTH --=20 Ren=E9 Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/