這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AutoCHMOD

外掛說明

Protect folders and files from unhautorized changes managing filesystem permissions. You can configure the permission mask for file and folders in “protected” and “writeable” status, and with a single click you can switch between them. When you enable writing a cron event is set and the protected status will be applied automatically after 10 minutes.

Please check carefully the configuration before enabling protection! If the default permission mask isn’t correct for your server WordPress will stop working, and you’ll need to restore the correct permission manually.

Pay attention: the suggested configuration is, obviously, only a suggestion: depending on various system configuration the detection could be suboptimal or erroneous.

New in 0.5: automatic updates should work regularly; the protection will disabled and re-enabled, hopefully without pain. But this feature is still experimental and I can’t debug it untill next minor release of WP.

螢幕擷圖

  • The config page when protection is active.
  • The config page when protection isn’t active. Note the countdown on the admin button.
  • The alert on plugin installation page when protection is active. The same alert is shown also on edit plugin page and installation and edit theme pages.
  • The Help tab. Less text in the page, more comfort for the user.

安裝方式

Just follow any standard plugin installation procedure, as you wish.

常見問題集

Can I use this plugin on Windows/Mac/Solaris?

On Windows surely NOT, on other systems maybe. AutoCHMOD intensively use the PHP chmod command: if this funcion is usable on your system, AutoCHMOD would run just fine.

Does this plugin works out-of-the-box?

Maybe, or maybe not. You must double-check the configuration of the permission you’ll grant to your file and folders: if the configuration isn’t correct for your server, WordPress could not run anymore and you’ll need to restore the correct permissions manually. In future releases I’ll try to check the configuration BEFORE applying it.

使用者評論

2024 年 9 月 12 日
It’s a great plugin. It can lock write permissions for your files and directories, so you can unlock them temporarily only when you need to. Additionally, any registered user can unlock write permissions, not just the administrator. So, it’s a great plugin if you have closed registration on your site and you are the only user.
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈AutoCHMOD〉的開發相關工作。

參與者

將〈AutoCHMOD〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.5

  • Let the automatic updates happen!

0.5.1 Fixed the behaviour of the admin bar button on multisite installation: the option are now saved on site_meta

0.5.2 Fixed a bug who didn’t permit saving permission options on some network installations

0.4

  • Check suggested configuration with a real case
  • Help screen
  • Disable protection forever
  • Animated countdown when protection is disabled.

0.4.1: Completed italian localization, minor bug fixes

0.4.2: Removed debug information. Sorry, my fault

0.3

  • Multisite friendly (config page is in network Settings section)
  • Navbar button bring to option page if configuration hasn’t been verified
  • Suggest permission comparing a file created in system’s temporary folder and the WordPress root

0.2

  • First public release.
  • Improved options page.
  • Configuration of permissions mask.
  • Localization (english, italian)

0.1

  • First attempt.
  • Single file plugin, no fancy options.