Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default Error: utime: Operation not permitted

    I have WHM 11.23.2 cPanel 11.23.6-R27698
    CENTOS Enterprise 4.7 i686 on standard - WHM X v3.1.0

    I have searched all over the net and can't find a solution to this.

    I host people who use a certain php script that I'm a reseller of. This script is updatable from their admin panel.

    I've been getting complaints from hosted clients for the last several days. They are getting this error when they try to update their script:

    [Install update]
    Uncompress update: error
    Tar_error.log: /bin/tar: admin/ioncube: Cannot utime: Operation not permitted /bin/tar: admin/cronjobs: Cannot utime: Operation not permitted /bin/tar: admin: Cannot utime: Operation not permitted /bin/tar: fonts: Cannot utime: Operation not permitted /bin/tar: images: Cannot utime: Operation not permitted /bin/tar: includes: Cannot utime: Operation not permitted /bin/tar: mysql_restore: Cannot utime: Operation not permitted /bin/tar: plugins: Cannot utime: Operation not permitted /bin/tar: templates: Cannot utime: Operation not permitted /bin/tar: utilities: Cannot utime: Operation not permitted /bin/tar: Error exit delayed from previous errors

    The directories in the sites that get updated have to have permissions of 777 in order for the auto-updater in their admin panel to work. I checked one of the sites that's getting those errors, and the permissions are 777 like they're supposed to be.

    Here is an FTP screenshot showing the directories that get updated:

    http://i83.photobucket.com/albums/j2...f/ccupdate.gif

    The server is bringing the update over from the update server, but then it doesn't get untarred.

    Any clues? My wonderful host tried to help, but he's as stumped as I am.
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  2. #2
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default

    Can anyone help?
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  3. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Sounds like they don't have permission to do what they want to. What script is this? If you're not running SuPHP which it doesn't sound like you are, you should be. Then a user would be able to properly run commands on the files like creating dirctories and unpacking them via a script.

    I wonder whats in that huge error log in your picture?
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  4. #4
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default

    Quote Originally Posted by Infopro View Post
    I wonder whats in that huge error log in your picture?
    I don't know. The user brought that over from another host's server.

    Ok, umm, suphp won't break people's php scripts? I don't quite understand what it is.
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  5. #5
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Older scripts, maybe. Lots of threads about moving to SuPHP on the forums here. You might want to do some reading up first. But that will give users the ability to manage files via scripts, far better. Not to mention making your server more secure.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  6. #6
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default

    I don't see how it could be a server wide problem. The problem is only happening with some sites on the server. The rest of the sites using that script are not having the problem.
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  7. #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    The directories in the sites that get updated have to have permissions of 777 in order for the auto-updater in their admin panel to work. I checked one of the sites that's getting those errors, and the permissions are 777 like they're supposed to be.
    On the site having problems, are there any files in these directories now? What is owner set to on those files? What owner on the directories?

    I do note that in your picture whatever the script is, the config.inc.php is dated 2005. Looks like old stuff to me.

    If it's working on one account and not the other, seems it should be simple enough to compare/go over the differences in settings between the two to track down what's going wrong.
    Fav cPlinks this week: Blog - cPanel & WHM 11.32 we love it! | cPanel University study for it! | Attracta is coming! we want this!

  8. #8
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default

    I fixed it!! I had a sudden brainstorm and did this:

    chown -R USER:USER/home/USER/www/scripts
    chmod -R go-w /home/USER/www/scripts
    cd /home/USER/public_html
    chmod -Rf 777 scripts

    It worked!
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  9. #9
    Member junglecat's Avatar
    Join Date
    Jul 2004
    Posts
    168

    Default

    Quote Originally Posted by Infopro View Post
    I do note that in your picture whatever the script is, the config.inc.php is dated 2005. Looks like old stuff to me.
    Config.inc is just the database name/user/pass. That doesn't normally change.
    Idiot instructions only, please.
    ~~~~~~~~~~~~~
    ►►►Come join us at A Fun FRIENDLY Christian Forum◄◄◄

  10. #10
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default

    Contact the administrator of the server and let him update the script.
    Mitul

Similar Threads & Tags
Similar threads

  1. Hacked and now i can't delete the file...Operation not permitted :(
    By ttmw in forum cPanel and WHM Discussions
    Replies: 24
    Last Post: 03-31-2011, 11:12 AM
  2. Replies: 2
    Last Post: 04-26-2010, 02:35 AM
  3. Crazy apache error 1)Operation not permitted: setrlimit(RLIMIT_AS):
    By DWHS.net in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-22-2005, 04:02 AM
  4. ping: icmp open socket: Operation not permitted
    By vis in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-31-2003, 09:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube