#24700 closed defect (bug) (duplicate)
Permission check prevents detection of 'direct' installation method for plugins
Reported by: | dennisjac | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Filesystem API | Keywords: | |
Focuses: | Cc: |
Description
I run a Wordpress installation where permissions are primarily handled using groups and not users. Unfortunately in order to determine whether the 'direct' plugin installation method can be used the code checks not only if the directory is writable but also if it has the same UID as the executing user. This restriction isn't necessary and actually prevents users unnecessarily from using the 'direct' method even though they should be able to.
I attached a patch that fixes this issue. After applying the patch I can install plugins using the 'direct' method even when the folder doesn't belong to the apache user but write access is granted using group permissions.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
patch to fix overly restrictive check for plugin installation method