This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: permission denied errors in script run by cron


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]