SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast vaiod's Avatar
    Join Date
    Jan 2001
    Location
    Chandler, Arizona
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Running External Apps

    I need to run an external application but am running into "Permission Denied" problems. The perl application just runs tar and gzip on some database files. I tried to do this through PHP but was unsuccessful. I wan't to build an app that allows me to run backups and restore backups of a database from remote locations.

    Any Ideas?

  2. #2
    SitePoint Wizard silver trophy Karl's Avatar
    Join Date
    Jul 1999
    Location
    Derbyshire, UK
    Posts
    4,411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Most backup scripts need to be run as root so that they can access all the files they need to backup, whereas a webserver usually runs as nobody or similar which doesn't have the same permissions and can't access certain files or caryr out certain tasks such as running some server programs - which is probably where you are running into trouble.
    Karl Austin :: Profile :: KDA Web Services Ltd.
    Business Web Hosting :: Managed Dedicated Hosting
    Call 0800 542 9764 today and ask how we can help your business grow.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •