{"id":244488,"date":"2025-08-17T10:33:00","date_gmt":"2025-08-17T10:33:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/reset-file-and-folder-permissions\/"},"modified":"2025-12-07T02:56:59","modified_gmt":"2025-12-07T02:56:59","slug":"reset-file-and-folder-permissions","status":"publish","type":"plugin","link":"https:\/\/mn.wordpress.org\/plugins\/reset-file-and-folder-permissions\/","author":14091451,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"6.9.4","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Reset file and folder permissions","header_author":"Prakhar Bhatia","header_description":"A WordPress plugin to reset all file permissions to 0644 and all directory permissions to 0755 for security and maintenance purposes.","assets_banners_color":"d0dbee","last_updated":"2025-12-07 02:56:59","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/nandann.com","header_plugin_uri":"https:\/\/nandann.com\/contact","header_author_uri":"https:\/\/nandann.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":1180,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.1.0":{"tag":"1.1.0","author":"prakharb88","date":"2025-11-16 13:14:20"},"1.1.1":{"tag":"1.1.1","author":"prakharb88","date":"2025-12-07 02:56:59"}},"upgrade_notice":{"1.1.1":"<p>Minor update: Added screenshots and updated WordPress compatibility to 6.9. Recommended for all users.<\/p>","1.1.0":"<p>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.<\/p>","1.0.0":"<p>Initial release of Reset file and folder permissions plugin. Safely reset file and directory permissions to WordPress standards.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":3414802,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3345863,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1.0","1.1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3413330,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3413330,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3413330,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3413330,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Main plugin interface showing system information, directory selection, and permission reset functionality","2":"Ownership reset tab with server information and ownership configuration options","3":"Progress bar during permission reset operation showing real-time processing statistics","4":"Scan results and completion status with detailed file and directory counts"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18198,88,732,895,600],"plugin_category":[52,54],"plugin_contributors":[246415],"plugin_business_model":[],"class_list":["post-244488","plugin","type-plugin","status-publish","hentry","plugin_tags-directories","plugin_tags-files","plugin_tags-maintenance","plugin_tags-permissions","plugin_tags-security","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-prakharb88","plugin_committers-prakharb88"],"banners":{"banner":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/banner-772x250.png?rev=3345863","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/icon-256x256.gif?rev=3414802","icon_2x":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/icon-256x256.gif?rev=3414802","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/screenshot-1.png?rev=3413330","caption":"Main plugin interface showing system information, directory selection, and permission reset functionality"},{"src":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/screenshot-2.png?rev=3413330","caption":"Ownership reset tab with server information and ownership configuration options"},{"src":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/screenshot-3.png?rev=3413330","caption":"Progress bar during permission reset operation showing real-time processing statistics"},{"src":"https:\/\/ps.w.org\/reset-file-and-folder-permissions\/assets\/screenshot-4.png?rev=3413330","caption":"Scan results and completion status with detailed file and directory counts"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Dual Functionality<\/strong>: Reset both permissions (0644\/0755) and ownership (user\/group) in separate tabs<\/li>\n<li><strong>Ownership Management<\/strong>: Change file and folder ownership to the correct web server user (VPS\/dedicated servers)<\/li>\n<li><strong>Server Compatibility Check<\/strong>: Automatically detects if ownership functions are available on your server<\/li>\n<li><strong>Batch Processing<\/strong>: Handles large directory structures efficiently with configurable batch sizes<\/li>\n<li><strong>Real-time Progress<\/strong>: Visual progress bar with detailed statistics during processing<\/li>\n<li><strong>Safety First<\/strong>: Multiple security checks and confirmations before making changes<\/li>\n<li><strong>Selective Processing<\/strong>: Choose specific directories to process (entire site, wp-content, plugins, themes, or uploads)<\/li>\n<li><strong>Smart Recommendations<\/strong>: Automatically detects and recommends the correct owner\/group for your server<\/li>\n<li><strong>Error Handling<\/strong>: Comprehensive error logging and reporting<\/li>\n<li><strong>Responsive Interface<\/strong>: Works seamlessly on desktop and mobile devices<\/li>\n<li><strong>Security Focused<\/strong>: Only administrators can use this tool, with proper nonce verification<\/li>\n<\/ul>\n\n<h4>Standard WordPress Permissions<\/h4>\n\n<ul>\n<li><strong>Files (0644)<\/strong>: Owner can read\/write, group and others can read only<\/li>\n<li><strong>Directories (0755)<\/strong>: Owner can read\/write\/execute, group and others can read\/execute<\/li>\n<\/ul>\n\n<h4>When to Use This Plugin<\/h4>\n\n<p><strong>For Permission Reset:<\/strong>\n* After migrating your WordPress site to a new server\n* When files have incorrect permissions causing functionality issues\n* For security hardening when permissions are too permissive\n* When troubleshooting file access problems\n* During routine maintenance to ensure proper permissions<\/p>\n\n<p><strong>For Ownership Reset:<\/strong>\n* After migrating to a new server with a different web server user\n* When WordPress cannot write files or install plugins\/themes\n* After manually uploading files via FTP with incorrect ownership\n* When troubleshooting \"permission denied\" errors despite correct permissions\n* When switching hosting providers or server configurations<\/p>\n\n<h4>Safety Features<\/h4>\n\n<ul>\n<li>Requires explicit confirmation before processing<\/li>\n<li>Batch processing prevents server timeouts<\/li>\n<li>Real-time progress monitoring<\/li>\n<li>Comprehensive error logging<\/li>\n<li>Restricted to administrators only<\/li>\n<li>Path validation to prevent processing outside WordPress directory<\/li>\n<\/ul>\n\n<h3>Support<\/h3>\n\n<p>For support, feature requests, or bug reports:\n* Email: prakhar@nandann.com\n* Website: https:\/\/nandann.com\n* Subject: WordPress Development Help Request<\/p>\n\n<p>Professional WordPress development and troubleshooting services available. Expert solutions for complex WordPress challenges including custom development, site migrations, security audits, and performance optimization.<\/p>\n\n<h3>Development<\/h3>\n\n<p>This plugin is developed with security and reliability in mind. All user inputs are sanitized, permissions are validated, and operations are logged for transparency.<\/p>\n\n<h4>Technical Details<\/h4>\n\n<ul>\n<li>Uses WordPress native functions and hooks<\/li>\n<li>Implements proper AJAX handling with nonce verification<\/li>\n<li>Follows WordPress coding standards<\/li>\n<li>Includes comprehensive error handling<\/li>\n<li>Responsive design using WordPress admin styles<\/li>\n<\/ul>\n\n<h3>Privacy<\/h3>\n\n<p>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.<\/p>\n\n<h3>About the Developer<\/h3>\n\n<p><strong>Prakhar Bhatia<\/strong> is a professional WordPress developer and troubleshooter with extensive experience in:<\/p>\n\n<ul>\n<li><strong>WordPress Troubleshooting<\/strong>: Expert diagnosis and resolution of complex WordPress issues, performance optimization, and security hardening<\/li>\n<li><strong>Custom Development<\/strong>: Bespoke WordPress plugins, themes, and custom functionality tailored to specific business needs  <\/li>\n<li><strong>Site Migration &amp; Hosting<\/strong>: Seamless website migrations, hosting optimization, and server configuration for peak performance<\/li>\n<li><strong>Security &amp; Maintenance<\/strong>: Comprehensive security audits, malware removal, and ongoing maintenance to keep sites secure<\/li>\n<\/ul>\n\n<p><strong>Nandann Creative Agency<\/strong> specializes in WordPress development solutions for businesses of all sizes.<\/p>\n\n<p>Contact: prakhar@nandann.com | Website: https:\/\/nandann.com<\/p>\n\n<h3>Credits<\/h3>\n\n<p>Built with security and usability in mind, following WordPress development best practices. Developed by Prakhar Bhatia at Nandann Creative Agency.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/reset-file-and-folder-permissions<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Navigate to 'Reset Permissions' in the main WordPress admin menu to access the plugin.<\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Extract and upload the <code>file-permissions-reset<\/code> folder to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the WordPress admin plugins page<\/li>\n<li>Access the tool from the main admin navigation menu<\/li>\n<\/ol>\n\n<h4>System Requirements<\/h4>\n\n<p><strong>For Permission Reset:<\/strong>\n* PHP <code>chmod()<\/code> function must be available\n* WordPress 5.0 or higher\n* PHP 7.4 or higher\n* Administrator access<\/p>\n\n<p><strong>For Ownership Reset (Additional Requirements):<\/strong>\n* PHP <code>chown()<\/code> and <code>chgrp()<\/code> functions must be available\n* PHP POSIX functions (<code>posix_getpwnam<\/code>, <code>posix_getgrnam<\/code>, etc.)\n* VPS, dedicated server, or hosting with elevated privileges\n* Note: Ownership features are typically NOT available on shared hosting<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20this%20plugin%20safe%20to%20use%3F'><h3>Is this plugin safe to use?<\/h3><\/dt>\n<dd><p>Yes, the plugin includes multiple safety measures:\n- Requires administrator privileges\n- Shows confirmation dialogs before processing\n- Validates all paths to ensure they're within WordPress\n- Processes files in batches to prevent timeouts\n- Provides detailed error reporting<\/p><\/dd>\n<dt id='will%20this%20break%20my%20wordpress%20site%3F'><h3>Will this break my WordPress site?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='can%20i%20undo%20the%20permission%20changes%3F'><h3>Can I undo the permission changes?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='what%20happens%20if%20the%20process%20is%20interrupted%3F'><h3>What happens if the process is interrupted?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='does%20this%20work%20on%20shared%20hosting%3F'><h3>Does this work on shared hosting?<\/h3><\/dt>\n<dd><p>Yes, as long as your hosting provider allows the PHP <code>chmod()<\/code> function and you have sufficient file system permissions. The plugin will display an error if <code>chmod()<\/code> is not available.<\/p><\/dd>\n<dt id='can%20i%20process%20only%20specific%20directories%3F'><h3>Can I process only specific directories?<\/h3><\/dt>\n<dd><p>Yes, you can choose to process:\n- Entire WordPress installation\n- WP Content directory only\n- Plugins directory only\n- Themes directory only\n- Uploads directory only<\/p><\/dd>\n<dt id='what%20is%20file%20ownership%20and%20why%20does%20it%20matter%3F'><h3>What is file ownership and why does it matter?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='why%20can%27t%20i%20see%20the%20ownership%20reset%20feature%3F'><h3>Why can't I see the ownership reset feature?<\/h3><\/dt>\n<dd><p>The ownership reset feature requires PHP functions (<code>chown<\/code>, <code>chgrp<\/code>, 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.<\/p><\/dd>\n<dt id='how%20do%20i%20know%20which%20owner%20and%20group%20to%20use%3F'><h3>How do I know which owner and group to use?<\/h3><\/dt>\n<dd><p>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).<\/p><\/dd>\n<dt id='can%20incorrect%20ownership%20break%20my%20site%3F'><h3>Can incorrect ownership break my site?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id='what%27s%20the%20difference%20between%20permissions%20and%20ownership%3F'><h3>What's the difference between permissions and ownership?<\/h3><\/dt>\n<dd><p><strong>Permissions<\/strong> (0644\/0755) control what actions can be performed on files (read, write, execute) by the owner, group, and others. <strong>Ownership<\/strong> 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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Added: Screenshots for better plugin visibility on WordPress.org<\/li>\n<li>Updated: Tested up to WordPress 6.9<\/li>\n<li>Improved: Screenshot descriptions in readme.txt<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added: File and folder ownership reset functionality<\/li>\n<li>Added: Separate \"Reset Ownership\" tab for ownership management<\/li>\n<li>Added: Automatic detection of web server user and group<\/li>\n<li>Added: Server compatibility check for ownership functions<\/li>\n<li>Added: Smart recommendations for owner\/group selection<\/li>\n<li>Added: Dropdown menus for selecting owner and group<\/li>\n<li>Added: Comprehensive warnings and help text for ownership operations<\/li>\n<li>Added: Separate confirmation dialogs for ownership changes<\/li>\n<li>Improved: Tab-based navigation for better organization<\/li>\n<li>Improved: Enhanced error messages and logging<\/li>\n<li>Improved: Better compatibility warnings for shared hosting<\/li>\n<li>Note: Ownership features require VPS\/dedicated server with elevated privileges<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Batch processing with progress tracking<\/li>\n<li>Directory-specific processing options<\/li>\n<li>Comprehensive error handling and logging<\/li>\n<li>Responsive admin interface<\/li>\n<li>Security hardening features<\/li>\n<\/ul>","raw_excerpt":"A WordPress plugin to reset file permissions to 0644, directory permissions to 0755, and file\/folder ownership for security and maintenance purposes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/244488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=244488"}],"author":[{"embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/prakharb88"}],"wp:attachment":[{"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=244488"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=244488"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=244488"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=244488"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=244488"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/mn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=244488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}