|
From: kaushal on 4 Apr 2008 07:13 hi I am using http://pastebin.com/d4b062d28 for rsync from src host to dest host the roots cron entry is "02 4 * * * su sms /usr/local/bin/ testrsync_mysql.sh" I am getting error in the logs building file list ... rsync: pop_dir "/root" failed: Permission denied (13) rsync error: errors selecting input/output files, dirs (code 3) at flist.c(1356) [sender=2.6.9] Am i missing something Thanks and Regards Kaushal
From: Bill Marcum on 4 Apr 2008 13:12 On 2008-04-04, kaushal <kaushalshriyan(a)gmail.com> wrote: > > > hi > > I am using http://pastebin.com/d4b062d28 for rsync from src host to > dest host > the roots cron entry is "02 4 * * * su sms /usr/local/bin/ > testrsync_mysql.sh" > > I am getting error in the logs > > building file list ... rsync: pop_dir "/root" failed: Permission > denied (13) > rsync error: errors selecting input/output files, dirs (code 3) at > flist.c(1356) [sender=2.6.9] > Your script runs as user sms, who doesn't have permission to read the /root directory.
|
Pages: 1 Prev: Change directory modification date Next: parallel 1.3: simple parallel processing. |