Reset file and folder permissions

描述

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. This tool is particularly useful after site migrations, server changes, or when dealing with permission-related issues.

Key Features

  • Batch Processing: Handles large directory structures efficiently with configurable batch sizes
  • Real-time Progress: Visual progress bar with detailed statistics during processing
  • Safety First: Multiple security checks and confirmations before making changes
  • Selective Processing: Choose specific directories to process (entire site, wp-content, plugins, themes, or uploads)
  • Error Handling: Comprehensive error logging and reporting
  • Responsive Interface: Works seamlessly on desktop and mobile devices
  • Security Focused: Only administrators can use this tool, with proper nonce verification

Standard WordPress Permissions

  • Files (0644): Owner can read/write, group and others can read only
  • Directories (0755): Owner can read/write/execute, group and others can read/execute

When to Use This Plugin

  • After migrating your WordPress site to a new server
  • When files have incorrect permissions causing functionality issues
  • For security hardening when permissions are too permissive
  • When troubleshooting file access problems
  • During routine maintenance to ensure proper permissions

Safety Features

  • Requires explicit confirmation before processing
  • Batch processing prevents server timeouts
  • Real-time progress monitoring
  • Comprehensive error logging
  • Restricted to administrators only
  • Path validation to prevent processing outside WordPress directory

Support

For support, feature requests, or bug reports:
* Email: prakhar@nandann.com
* Website: https://nandann.com
* Subject: WordPress Development Help Request

Professional WordPress development and troubleshooting services available. Expert solutions for complex WordPress challenges including custom development, site migrations, security audits, and performance optimization.

Development

This plugin is developed with security and reliability in mind. All user inputs are sanitized, permissions are validated, and operations are logged for transparency.

Technical Details

  • Uses WordPress native functions and hooks
  • Implements proper AJAX handling with nonce verification
  • Follows WordPress coding standards
  • Includes comprehensive error handling
  • Responsive design using WordPress admin styles

Privacy

This plugin does not collect, store, or transmit any personal data. All operations are performed locally on your server, and no data is sent to external services.

About the Developer

Prakhar Bhatia is a professional WordPress developer and troubleshooter with extensive experience in:

  • WordPress Troubleshooting: Expert diagnosis and resolution of complex WordPress issues, performance optimization, and security hardening
  • Custom Development: Bespoke WordPress plugins, themes, and custom functionality tailored to specific business needs
  • Site Migration & Hosting: Seamless website migrations, hosting optimization, and server configuration for peak performance
  • Security & Maintenance: Comprehensive security audits, malware removal, and ongoing maintenance to keep sites secure

Nandann Creative Agency specializes in WordPress development solutions for businesses of all sizes.

Contact: prakhar@nandann.com | Website: https://nandann.com

Credits

Built with security and usability in mind, following WordPress development best practices. Developed by Prakhar Bhatia at Nandann Creative Agency.

安装

  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

  • PHP chmod() function must be available
  • WordPress 5.0 or higher
  • PHP 7.4 or higher
  • Administrator access

常见问题

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

评价

2025 年 8 月 19 日
So simple yet powerful 💪. I was struggling with permission issues after moving my site, and this plugin solved it in seconds. Thank you for making this! 🙏 ⭐️⭐️⭐️⭐️⭐️
阅读所有1条评价

贡献者及开发者

「Reset file and folder permissions」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0

  • Initial release
  • Batch processing with progress tracking
  • Directory-specific processing options
  • Comprehensive error handling and logging
  • Responsive admin interface
  • Security hardening features