Results 1 to 2 of 2
  1. #1

    How do you allow scripts to chmod files?


    I have installed a couple of scripts on my dedi server with ensim on it that need to create and chmod files and directories. Problem is when I run any of the scripts I get the error below -

    Warning: chmod failed: Operation not permitted in /home/virtual/site3/fst/var/www/html/banners/admin/index.php on line 920

    Is this something to do with file ownership? can anybody point me in the right direction on how to solve this.

    Many Thanks

  2. #2
    If you try to chmod files that is not owned by the group/user running apache then you will get that error. One way is to let apache own the files/directories you want to chmod.

Posting Permissions

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