• Resolved horizonm

    (@horizonm)


    Hello,

    I’m having issues with this plugin being able to delete the files it creates. In general when wordpress uploads anything, it does so with 664 permissions and it runs in my apache:webadmins space. This means I can upload plugins, delete them, upload media, delete them through admin as would be expected.

    When I run this, it exports the site and uploads to S3 fine, but then it doesn’t cleanup the trash and the files it creates are 644 permissions. I have to go in via putty, reset the permissions on the files, and then delete them with rm -rf. There’s no indication that the plugin can’t delete the files in the log, I just get the Chrome notification the export is finished and then I look at the files and think that it’s done.

    Most importantly, the log files get locked and the static files don’t get deleted after creating the zip.

    It can write the files, it can modify / append to the log files, it just can’t delete them.

    Is this an issue with the cleanup code not doing it’s job, or does the plugin set any permissions explicitly?

    Thanks for the help… this is a lifesaving plugin, I just want to make sure that I can truly tell it is finished so I know my full site has been published on S3.

    Joe

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘File Cleanup Failing’ is closed to new replies.