[wp-trac] [WordPress Trac] #36936: Plugin update does not works via web with proper filesystem permissions.

WordPress Trac noreply at wordpress.org
Wed May 25 00:15:10 UTC 2016


#36936: Plugin update does not works via web with proper filesystem permissions.
----------------------------+------------------------------
 Reporter:  brudas          |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Filesystem API  |     Version:  4.5.2
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by brudas):

 Hi @andtrev, thank you for FS_METHOD hint.

 However, now days it is absolutely normal in Linux to have 000 legacy
 permission bytes with any owner and group on file and be able to
 read/write/execute it. POSIX ACL support available in mainline Linux
 kernel since at least '''year 2002''' and PHP have posix_access() to check
 path availability. I hope posix_access() is binding for POSIX access(2)
 function which hides all access control machinery under the hood.

 Are there any reasons for self-made interpretation of permission?

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


More information about the wp-trac mailing list