• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • error in ACP:ErrorException: chmod(): Operation not permitted

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: error in ACP:ErrorException: chmod(): Operation not permitted

    • Issue Tools
      • View Changes
    1. issueid=4472 December 11, 2015 7:00 AM
      Lemminator Lemminator is offline
      New Member
      error in ACP:ErrorException: chmod(): Operation not permitted

      PHP Code:
      ErrorException: chmod(): Operation not permitted - vault/core/controller/css/vw.php:176
      Generiert durch
      : Unbekanntes Benutzerkonto, Vor 56 Minuten
      Stapelverfolgung
      #0 [internal function]: XenForo_Application::handlePhpError(2, 'chmod(): Operat...', '/www/htdocs/w01...', 176, Array)
      #1 /www/htdocs/w01263e7/elnino-onlinegaming.de/vault/core/controller/css/vw.php(176): chmod('/www/htdocs/w01...', 436)
      #2 /www/htdocs/w01263e7/elnino-onlinegaming.de/library/vw/XenForo/CssOutput.php(57): vw_CSS_Controller->cache(Array, '@charset "UTF-8...', 5, 1449816377, 'LTR')
      #3 /www/htdocs/w01263e7/elnino-onlinegaming.de/library/XenForo/CssOutput.php(631): vw_XenForo_CssOutput->renderCss()
      #4 /www/htdocs/w01263e7/elnino-onlinegaming.de/css.php(12): XenForo_CssOutput::run()
      #5 {main}
      Benötigter Status
      array(3) {
        [
      "url"] => string(97) "https://www.elnino-onlinegaming.de/css.php?css=vw_icon,vw_additional&style=5&dir=ltr&d=1449816377"
        
      ["_GET"] => array(4) {
          [
      "css"] => string(21) "vw_icon,vw_additional"
          
      ["style"] => string(1) "5"
          
      ["dir"] => string(3) "ltr"
          
      ["d"] => string(10) "1449816377"
        
      }
        [
      "_POST"] => array(0) {
        }
      } 
    Issue Details
    Issue Number 4472
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Admin Panel
    Status Not a Bug
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.7
    Fixed Version (none)
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. December 11, 2015 8:17 AM
      pegasus pegasus is offline
      VaultWiki Team
      It's hard to know why this is happening without seeing your server. This command happens right after PHP creates a file, and it only occurs if PHP has write permissions in the directory. At that time, PHP should have permissions to set the file permissions as well, because it is the file owner. Thus, this error appears to be a logical fallacy.

      The only way I can see this occurring is if you have manually changed the ownership of files in /vault/resorces/css/cache. This may have occurred without your direct intent if you changed ownership of files of a higher directory like / and asked the change to apply recursively to files and not to directories. There's nothing VaultWiki can do if this has happened. Once the file ownership is not the same as the PHP user, then you will have to delete the file manually, because VaultWiki will not have permission to make any more updates to these files. If this is the case, then it is not a bug in VaultWiki, and arguably you should still receive this error message to alert you that VaultWiki can no longer write to its CSS cache.

      If you would like us to debug this issue further, then you must fill out a Ticket Support service so we can see exactly what has happened to the file permissions to cause this condition: https://www.vaultwiki.org/members/?d...e&productid=20
      Reply Reply
    2. December 11, 2015 9:20 AM
      Lemminator Lemminator is offline
      New Member
      i send you a ticked
      Reply Reply
    3. December 11, 2015 9:28 AM
      Lemminator Lemminator is offline
      New Member
      if you have manually changed the ownership of files in /vault/resorces/css/cache.
      i don't have do this ...
      Reply Reply
    4. December 12, 2015 3:48 PM
      pegasus pegasus is offline
      VaultWiki Team
      I looked at the server directory, emptied it, and compared what happens when it's empty. The new cache files were created with a different user than what was there before. So as I suspected, someone had accidentally changed the ownership of the cache files to a different user, OR you recently moved to a new server, and you copied the cache files from the old server. If you have an automated script that changes file owners, then you should update it so that it does not touch this directory. If this happens again, then you must manually delete the contents of the directory (not the directory itself!) -- the cache may not have permission to do it itself.

      This error is not a bug, and it is good that you see it in the logs because it alerts you that the file permissions of the directory were changed after the cache was already made.

      You should not have to do anything right now. I have already emptied the cache and it has started regenerating with the correct permissions.
      Reply Reply
    5. December 14, 2015 5:06 AM
      Lemminator Lemminator is offline
      New Member
      ok but now i have this error message in the Acp how i have post here https://www.vaultwiki.org/issues/4451/
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 8:40 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.