S3Sync.net

General Category => Questions => Topic started by: Abd4llA on January 07, 2008, 05:16:29 PM



Title: How to run s3sync as root ?
Post by: Abd4llA on January 07, 2008, 05:16:29 PM
Hi,
I'm creating a web interface for the s3sync to use it as a backup system of servers on S3. I'm facing a problem that apache doesn't have root privileges, so it can't access some directories . So I tried using sudo but it failed. somehow when I run the s3sync scrips using sudo and see the UID of the resulting process I find it the normal user not running as root. Any idea how can I use sudo with s3sync ?? or how to run the s3sync from my web interface as root ?? I'm not really a ruby guy

-----------------
Ahmed Abdalla
Redhat Systems Engineer