[wp-trac] [WordPress Trac] #63314: chmod(): Operation not permitted

WordPress Trac noreply at wordpress.org
Sun Apr 20 14:43:22 UTC 2025


#63314: chmod(): Operation not permitted
----------------------------+------------------------------
 Reporter:  wynot           |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  6.8
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by SirLouen):

 Replying to [comment:2 wynot]:
 > Replying to [comment:1 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.
 >
 > Ok thank you for responding. I did contact our hosting provider before
 logging this and they said all permissions we set correctly. So I'm
 stumped.
 When you encounter this problems what I generally do first of all is set
 full 777 all files and folders and see if it works (should). Then you can
 revert to set the right permissions to each folder/file once you have
 discovered if it was actually a permission issue (which should)

 But be aware that PHP itself is VERY pesky with this topic. I've reported
 in the past about permissions issues with PHP (nothing to do with
 WordPress itself). But I found difficult to replicate.

 But as @threadi said, this is not a WordPress topic to treat here, but in
 the WordPress forums
 https://wordpress.org/support/forum/how-to-and-troubleshooting/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63314#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list