[wp-trac] [WordPress Trac] #63314: chmod(): Operation not permitted
WordPress Trac
noreply at wordpress.org
Sun Apr 20 14:08:17 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 iyikotro):
Replying to [ticket:63314 wynot]:
> WordPress started logging the following in apache error log:
>
> [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
/home/**********/**********/public_html/wp-admin/includes/class-wp-
filesystem-direct.php on line 173; PHP message: PHP Warning: chmod():
Operation not permitted in /home/**********/**********/public_html/wp-
admin/includes/class-wp-filesystem-direct.php on line 173', referer:
[https://techtrovehub.my.id 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
/home/**********/**********/public_html/wp-admin/includes/class-wp-
filesystem-direct.php on line 173; PHP message: PHP Warning: chmod():
Operation not permitted in /home/**********/**********/public_html/wp-
admin/includes/class-wp-filesystem-direct.php on line 173', referer:
[https://shopnstylepulse.my.id 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://digitalthreadsnews.my.id 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
/home/**********/**********/public_html/wp-admin/includes/class-wp-
filesystem-direct.php on line 173; PHP message: PHP Warning: chmod():
Operation not permitted in /home/**********/**********/public_html/wp-
admin/includes/class-wp-filesystem-direct.php on line 173', referer:
[https://trendfusetech.my.id 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
/home/**********/**********/public_html/wp-admin/includes/class-wp-
filesystem-direct.php on line 173; PHP message: PHP Warning: chmod():
Operation not permitted in /home/**********/**********/public_html/wp-
admin/includes/class-wp-filesystem-direct.php on line 173', referer:
[https://lifestyleorbit.my.id https://**********.*********/wp-login.php]
>
> Checked all file/folder permissions and they are the correct ones.
Worked with hosting provider and they confirmed permissions are correct as
well.
>
> This site was updated to v6.8 but other sites still on 6.7.2 are getting
them too.
> Not sure which Component to put this under so selected Filesystem.
It is not about WordPress but encountering the "chmod: Operation not
permitted" error in Linux typically means you lack the necessary
permissions. By using sudo to execute commands with superuser privileges
or changing the file ownership to your user, you can resolve this issue
and successfully modify file permissions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63314#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list