improved file system install method detection - allow direct install if user or group permissions match
|Reported by:||neosource||Owned by:|
The reason I made this patch was because all versions of WordPress that I've installed on my local debian server fail to automatically use the direct file system method.
The permissions structure of my server allows group write access to the web folders. The current method only does a single myuid() check. I've expanded this to check for groupid and also included the posix methods.
It saves having to modify the wp-config with FS_METHOD to allow plugins/themes to be installed more easily.
I hope this helps make plugin/theme installations easier on similarly configured web hosts, without having to bother with FTP install etc.
Change History (6)
- Resolution set to duplicate
- Status changed from new to closed
- Type changed from defect (bug) to enhancement