permission denied errors in script run by cron

René Berber rberber@prodigy.net.mx
Sat Oct 29 20:38:00 GMT 2005


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/



More information about the Cygwin mailing list