Title: Reset file and folder permissions
Author: Prakhar Bhatia
Published: <strong>17 siyrpnia 2025</strong>
Last modified: 23 mŏja 2026

---

Search plugins

![](https://ps.w.org/reset-file-and-folder-permissions/assets/banner-772x250.png?
rev=3345863)

![](https://ps.w.org/reset-file-and-folder-permissions/assets/icon-256x256.gif?rev
=3414802)

# Reset file and folder permissions

 By [Prakhar Bhatia](https://profiles.wordpress.org/prakharb88/)

[Download](https://downloads.wordpress.org/plugin/reset-file-and-folder-permissions.1.2.0.zip)

 * [Details](https://szl.wordpress.org/plugins/reset-file-and-folder-permissions/#description)
 * [Reviews](https://szl.wordpress.org/plugins/reset-file-and-folder-permissions/#reviews)
 *  [Installation](https://szl.wordpress.org/plugins/reset-file-and-folder-permissions/#installation)
 * [Development](https://szl.wordpress.org/plugins/reset-file-and-folder-permissions/#developers)

 [Support](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/)

## Description

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

 * **Dual Functionality**: Reset both permissions (0644/0755) and ownership (user/
   group) in separate tabs
 * **Ownership Management**: Change file and folder ownership to the correct web
   server user (VPS/dedicated servers)
 * **Server Compatibility Check**: Automatically detects if ownership functions 
   are available on your server
 * **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)
 * **Smart Recommendations**: Automatically detects and recommends the correct owner/
   group for your server
 * **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

**For Permission Reset:**
 * 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

**For Ownership Reset:**
 * After migrating to a new server with a different web
server user * When WordPress cannot write files or install plugins/themes * After
manually uploading files via FTP with incorrect ownership * When troubleshooting„
permission denied” errors despite correct permissions * When switching hosting providers
or server configurations

#### 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.

## Screenshots

[⌊Main plugin interface showing system information, directory selection, and permission
reset functionality⌉⌊Main plugin interface showing system information, directory
selection, and permission reset functionality⌉[

Main plugin interface showing system information, directory selection, and permission
reset functionality

[⌊Ownership reset tab with server information and ownership configuration options⌉⌊
Ownership reset tab with server information and ownership configuration options⌉[

Ownership reset tab with server information and ownership configuration options

[⌊Progress bar during permission reset operation showing real-time processing statistics⌉⌊
Progress bar during permission reset operation showing real-time processing statistics⌉[

Progress bar during permission reset operation showing real-time processing statistics

[⌊Scan results and completion status with detailed file and directory counts⌉⌊Scan
results and completion status with detailed file and directory counts⌉[

Scan results and completion status with detailed file and directory counts

## Installation

 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:** * PHP `chmod()` function must be available * WordPress
5.0 or higher * PHP 7.4 or higher * Administrator access

**For Ownership Reset (Additional Requirements):** * PHP `chown()` and `chgrp()`
functions must be available * PHP POSIX functions (`posix_getpwnam`, `posix_getgrnam`,
etc.) * VPS, dedicated server, or hosting with elevated privileges * Note: Ownership
features are typically NOT available on shared hosting

## FAQ

### 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.

## Reviews

![](https://secure.gravatar.com/avatar/e65b76506af839993e0d75fcdfdb74cb4746bf760bf224de0a9b25ec06bb534d?
s=60&d=retro&r=g)

### 󠀁[Buenísimo](https://wordpress.org/support/topic/buenisimo-69/)󠁿

 [Francisco Menares](https://profiles.wordpress.org/kaisplanet/) 7 lipnia 2026 2
replies

Plugin simple y muy eficiente… Felicidades y agradecido por el desarrollo

![](https://secure.gravatar.com/avatar/edd915f8dd338ea7cdc925247246941f62b835c27e117bbb83964fd47ee8175d?
s=60&d=retro&r=g)

### 󠀁[Helpfull plugin](https://wordpress.org/support/topic/helpfull-plugin-24/)󠁿

 [seomgroup](https://profiles.wordpress.org/seomgroup/) 5 marca 2026 2 replies

Big thanks for your work. This plugin working perfect.

![](https://secure.gravatar.com/avatar/551c0b91c4e86c0d2a89c603decd510a090419410207a15a5a6b2c041a954532?
s=60&d=retro&r=g)

### 󠀁[Great plugin. Works very well](https://wordpress.org/support/topic/great-plugin-works-very-well-10/)󠁿

 [Lavannya Bhatia](https://profiles.wordpress.org/lavannya/) 19 siyrpnia 2025

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! 🙏 ⭐️
⭐️⭐️⭐️⭐️

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/)

## Contributors & Developers

“Reset file and folder permissions” is open source software. The following people
have contributed to this plugin.

Contributors

 *   [ Prakhar Bhatia ](https://profiles.wordpress.org/prakharb88/)

[Translate “Reset file and folder permissions” into your language.](https://translate.wordpress.org/projects/wp-plugins/reset-file-and-folder-permissions)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/reset-file-and-folder-permissions/),
check out the [SVN repository](https://plugins.svn.wordpress.org/reset-file-and-folder-permissions/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/reset-file-and-folder-permissions/)
by [RSS](https://plugins.trac.wordpress.org/log/reset-file-and-folder-permissions/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.0

 * Added: Full WP-CLI support for scanning, resetting permissions, and resetting
   ownership directly from the command line
 * Compatibility: Tested and verified compatible with WordPress 7.0 „Armstrong”
 * Update: Bumped tested up to version to WordPress 7.0

#### 1.1.1

 * Added: Screenshots for better plugin visibility on WordPress.org
 * Updated: Tested up to WordPress 6.9
 * Improved: Screenshot descriptions in readme.txt

#### 1.1.0

 * Added: File and folder ownership reset functionality
 * Added: Separate „Reset Ownership” tab for ownership management
 * Added: Automatic detection of web server user and group
 * Added: Server compatibility check for ownership functions
 * Added: Smart recommendations for owner/group selection
 * Added: Dropdown menus for selecting owner and group
 * Added: Comprehensive warnings and help text for ownership operations
 * Added: Separate confirmation dialogs for ownership changes
 * Improved: Tab-based navigation for better organization
 * Improved: Enhanced error messages and logging
 * Improved: Better compatibility warnings for shared hosting
 * Note: Ownership features require VPS/dedicated server with elevated privileges

#### 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

## Meta

 *  Version **1.2.0**
 *  Last updated **5 miesiyncy ago**
 *  Active installations **200+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **7.0.7**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/reset-file-and-folder-permissions/)
 * Tags
 * [directories](https://szl.wordpress.org/plugins/tags/directories/)[files](https://szl.wordpress.org/plugins/tags/files/)
   [maintenance](https://szl.wordpress.org/plugins/tags/maintenance/)[permissions](https://szl.wordpress.org/plugins/tags/permissions/)
   [security](https://szl.wordpress.org/plugins/tags/security/)
 *  [Advanced View](https://szl.wordpress.org/plugins/reset-file-and-folder-permissions/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/reviews/)

## Contributors

 *   [ Prakhar Bhatia ](https://profiles.wordpress.org/prakharb88/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/reset-file-and-folder-permissions/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://nandann.com)