From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-78001-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Jhio5-0001if-Sy
	for garchives@archives.gentoo.org; Fri, 04 Apr 2008 10:06:02 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4E49E068E;
	Fri,  4 Apr 2008 10:05:51 +0000 (UTC)
Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235])
	by pigeon.gentoo.org (Postfix) with ESMTP id 7A90BE068E
	for <gentoo-user@lists.gentoo.org>; Fri,  4 Apr 2008 10:05:51 +0000 (UTC)
Received: by wr-out-0506.google.com with SMTP id c48so2806565wra.1
        for <gentoo-user@lists.gentoo.org>; Fri, 04 Apr 2008 03:05:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        bh=A7fVbhgzkYM5/F0KgHO5wEqQpukhAxRbqW4qWE+xogk=;
        b=c3SVKbXzFjOtXT1P+uOjO7556Al2ShOSlEKjHtZY1tm74HgzZn2s6lrqlwhsP/qIm+jV25Nu7kve4Nkiq+HEVcPYZMcYJ9R1NZhQ8DmE5Ji8c3qU2GWdjqSsX+aKA7oX1UZYq9HJUgku7M04IP2d17Ux/hY4iygJxfbO7QRDCKQ=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=MTPTE2gWmWAia1U8BxpSuHyV0tr+UpSxaTjDjANd1HbFRSQQ2L9WxhNbZk5Hwr6oeHeedum+/Wq0antaaCEYi7c2EQSi1ArQ4HKAh9bw9nP8LyTw94FxAIAKDBYWexI1IMW3sXcVry+c1G550U9jgP1/Od0c2Zje2smeZZ3TdhE=
Received: by 10.115.54.1 with SMTP id g1mr1464646wak.140.1207303550626;
        Fri, 04 Apr 2008 03:05:50 -0700 (PDT)
Received: by 10.114.120.17 with HTTP; Fri, 4 Apr 2008 03:05:50 -0700 (PDT)
Message-ID: <6b16fb4c0804040305j2a00ea99jc3dc892cb15c01a1@mail.gmail.com>
Date: Fri, 4 Apr 2008 15:35:50 +0530
From: "Kaushal Shriyan" <kaushalshriyan@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] rsync script
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Archives-Salt: 84cb7785-33d1-44a5-a288-b1465f2378ad
X-Archives-Hash: ef36a18c88cdb8dcdb48a640c7d448cc

hi

I have the script http://pastebin.com/d4b062d28 and the roots cron
entry are as below

30 2 * * * su sms /usr/local/bin/testrsync_mysql.sh

I am getting the below error

building file list ... rsync: opendir "/var/lib/mysql/wordpress"
failed: Permission denied (13) done mysql/ib_logfile0
mysql/ib_logfile1
Killed by signal 2.
rsync error: unexplained error (code 255) at rsync.c(276) [sender=2.6.9]

Any clue as what is happening

Thanks and Regards

Kaushal
-- 
gentoo-user@lists.gentoo.org mailing list