delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/29/16:38:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Ren=E9_Berber?= <rberber AT prodigy DOT net DOT mx>
Subject: Re: permission denied errors in script run by cron
Date: Sat, 29 Oct 2005 15:36:37 -0500
Lines: 19
Message-ID: <dk0mgl$df$1@sea.gmane.org>
References: <200510291846 DOT j9TIkdxV023059 AT gourmet DOT spamgourmet DOT com>
Mime-Version: 1.0
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/

- Raw text -


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