Linux 软件免费装
Banner图

Reset file and folder permissions

开发者 prakharb88
更新时间 2026年5月23日 11:42
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

security maintenance permissions files directories

下载

1.1.0 1.1.1 1.2.0

详情介绍:

Reset file and folder permissions is a powerful yet safe WordPress plugin designed to help administrators reset file and directory permissions to their recommended secure values, and optionally reset file/folder ownership. This tool is particularly useful after site migrations, server changes, or when dealing with permission-related issues. Key Features Standard WordPress Permissions When to Use This Plugin For Permission Reset: Safety Features

安装:

  1. Upload the plugin files to the /wp-content/plugins/reset-file-and-folder-permissions directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Navigate to 'Reset Permissions' in the main WordPress admin menu to access the plugin.
Manual Installation
  1. Download the plugin zip file
  2. Extract and upload the file-permissions-reset folder to your /wp-content/plugins/ directory
  3. Activate the plugin through the WordPress admin plugins page
  4. Access the tool from the main admin navigation menu
System Requirements For Permission Reset:

屏幕截图:

  • Ownership reset tab with server information and ownership configuration options
  • Progress bar during permission reset operation showing real-time processing statistics
  • Scan results and completion status with detailed file and directory counts

升级注意事项:

1.2.0 Major update: Full WP-CLI support added for scanning, resetting permissions, and resetting ownership directly from the command line. Tested and verified compatible with WordPress 7.0. 1.1.1 Minor update: Added screenshots and updated WordPress compatibility to 6.9. Recommended for all users. 1.1.0 Major update: Added file and folder ownership reset functionality with automatic server detection and smart recommendations. New tab-based interface for better organization. Ownership features require VPS/dedicated server. 1.0.0 Initial release of Reset file and folder permissions plugin. Safely reset file and directory permissions to WordPress standards.

常见问题:

Is this plugin safe to use?

Yes, the plugin includes multiple safety measures:

  • Requires administrator privileges
  • Shows confirmation dialogs before processing
  • Validates all paths to ensure they're within WordPress
  • Processes files in batches to prevent timeouts
  • Provides detailed error reporting

Will this break my WordPress site?

The permissions set by this plugin (0644 for files, 0755 for directories) are the WordPress recommended standards. However, some special files or custom configurations might require different permissions. Always backup your site before making changes.

Can I undo the permission changes?

No, permission changes cannot be automatically undone. This is why it's important to have a backup before running the tool. However, the plugin sets standard WordPress permissions that should work for most installations.

What happens if the process is interrupted?

The plugin processes files in batches, so if interrupted, only the current batch might be affected. You can safely restart the process, and it will continue from where it left off.

Does this work on shared hosting?

Yes, as long as your hosting provider allows the PHP chmod() function and you have sufficient file system permissions. The plugin will display an error if chmod() is not available.

Can I process only specific directories?

Yes, you can choose to process:

  • Entire WordPress installation
  • WP Content directory only
  • Plugins directory only
  • Themes directory only
  • Uploads directory only

What is file ownership and why does it matter?

File ownership determines which user and group have control over files. In WordPress, files should typically be owned by the web server user (like www-data, apache, or nginx) to ensure proper functionality. Incorrect ownership can prevent WordPress from writing files, installing plugins/themes, or updating content.

Why can't I see the ownership reset feature?

The ownership reset feature requires PHP functions (chown, chgrp, and POSIX functions) that are often disabled on shared hosting for security reasons. These functions typically require elevated server privileges and are only available on VPS, dedicated servers, or hosting environments where you have more control. If you don't see the ownership tab or see a compatibility warning, contact your hosting provider or consider upgrading to a more flexible hosting solution.

How do I know which owner and group to use?

The plugin automatically detects your web server's user and group and recommends them. In most cases, you should use the recommended values. Common web server users include: www-data (Ubuntu/Debian), apache (CentOS/RHEL), nginx (Nginx servers), or _www (macOS).

Can incorrect ownership break my site?

Yes, setting incorrect ownership can prevent WordPress from functioning properly. Always use the recommended values provided by the plugin. If you're unsure, contact your hosting provider or a WordPress professional before making ownership changes.

What's the difference between permissions and ownership?

Permissions (0644/0755) control what actions can be performed on files (read, write, execute) by the owner, group, and others. Ownership determines which user and group "own" the files. Both need to be correct for WordPress to function properly. You can have correct permissions but still face issues if ownership is wrong.

更新日志:

1.2.0 1.1.1 1.1.0 1.0.0