This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: permission denied errors in script run by cron
- From: René Berber <rberber at prodigy dot net dot mx>
- To: cygwin at cygwin dot com
- Date: Sat, 29 Oct 2005 15:36:37 -0500
- Subject: Re: permission denied errors in script run by cron
- Openpgp: url=ldap://keyserver.pgp.com
- References: <200510291846.j9TIkdxV023059@gourmet.spamgourmet.com>
cyg.108@xoxy.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).
>
> When I run this command from the shell, it works fine -- no errors:
>
> /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
--
René 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/