• Hi – I’m getting the following in my log files:

    [Fri Apr 18 16:30:50.686300 2025] [proxy_fcgi:error] [pid 3909184:tid 3909284] [client ###.###.##.##:0] AH01071: Got error ‘PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173; PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173′, referer: https:///wp-login.php [Fri Apr 18 17:29:26.814565 2025] [proxy_fcgi:error] [pid 3909307:tid 3909409] [client ###.###.##.##:0] AH01071: Got error ‘PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173; PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173′, referer: https:///wp-admin/options-permalink.php [Fri Apr 18 17:38:02.205146 2025] [proxy_fcgi:error] [pid 3909307:tid 3909428] [client ###.###.##.##:0] AH01071: Got error ‘the log buffer is full (1024). The access log request has been truncated.’, referer: https:///wp-admin/post-new.php?post_type=page [Fri Apr 18 18:13:20.724878 2025] [proxy_fcgi:error] [pid 3909307:tid 3909379] [client ###.###.##.##:0] AH01071: Got error ‘PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173; PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173′, referer: https:///wp-login.php [Fri Apr 18 18:31:10.952583 2025] [proxy_fcgi:error] [pid 3909307:tid 3909345] [client ###.###.##.##:0] AH01071: Got error ‘PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173; PHP message: PHP Warning: chmod(): Operation not permitted in ///public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 173′, referer: https:///wp-login.php

    I’ve worked with my hosting support and the agree that the files/folders permissions are correct. We can’t see any reason why this is happening. Could this be a bug? Any help would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator threadi

    (@threadi)

    The message comes from a PHP function that wants to set the file permissions on a file. It only occurs if the directory permissions are not set correctly. Your hosting support should take a closer look at this. WordPress cannot solve this because the problem lies in the host’s file system.

    Recently I experienced this same problem until I searched thoroughly with assistance from my hosting provider’s team which fixed the issue. This solution should work for you also.
    Inquire from your host whether their servers enact restrictions on chmod(). The warnings presented in this situation are safe to dismiss through suppression or ignorance.
    You should replace your theme with the default Twenty Twenty-Four version.

    Identifying the most misleading plugin requires deactivation in a sequential order.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning: chmod(): Operation not permitted’ is closed to new replies.