• Resolved Vimal Roy

    (@vimalroy08)


    Hi,

    We have a WordPress website and we hosted it on the AWS EC2 instance. The file permissions are currently set to 755 for folders/directories and 644 for all the files inside it. However, it shows an error like the plugin cannot create files. How to fix this issue? Why is the plugin not working even if we give proper permission to the folders and files?

    ERROR: “All-in-One WP Migration is not able to create /var/www/wordpress/wp-content/ai1wm-backups/.htaccess file. Try to change permissions of the parent folder or send us an email at [email protected] for assistance.”

    Please check and let us know your feedback

    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    Based on the error message you provided, it seems that the issue is related to the file ownership and permissions. Although you have set the file permissions to 755 for folders/directories and 644 for files, this configuration only allows the owner to write to the folders. In most cases, PHP might not be the owner of the folder, which prevents the plugin from creating the necessary files.

    To resolve this issue, I recommend updating the permissions to 775 for folders/directories and 664 for files. This configuration grants write access to both the owner and the group, which should allow the plugin to function as intended.

    You can update the permissions using the following commands:

    sudo find /var/www/wordpress/wp-content -type d -exec chmod 775 {} \;
    sudo find /var/www/wordpress/wp-content -type f -exec chmod 664 {} \;
    

    After applying these changes, please try using the All-in-One WP Migration plugin again and see if the issue is resolved

    Thread Starter Vimal Roy

    (@vimalroy08)

    Hi @yaniiliev

    Thank you for your quick reply.

    We have changed the folders and files permission as you mentioned, but the error has not yet been resolved.

    PFA: https://imgur.com/a/6Jd51vs

    Please let us know your feedback.

    Thank you

    Thread Starter Vimal Roy

    (@vimalroy08)

    We have changed the ownership from one user to?other and the issue has been resolved.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Files and Folders Permission issue !!!’ is closed to new replies.