Permissions Reseting every January (750 & 640)
-
Whenever the new year starts the permissions on the WP Content and the uploads folder change from 755 to 750 on many of the WP sites I manage. The common factor is the WP Original Media Path plugin. Sites without the plugin have not experienced this issue. It has been happening every January for several years now I haven’t had the time to look into it fully and assumed it was the hosting. My Hosting company has looked into it and there is nothing at their end that would be doing this. I end up with
- wp-content – 750
- uploads – 750
- 2021 – 750
- 01 – 750
- all files in this folder 640.
All other folders under wp-content and uploads remain 755. This means any files uploaded to the site after the beginning of the new year don’t show in the media library or on the website. I have to login to cPanel on 20+ and reset the permissions to 755 for the folders and 644 for the files.
On all the sites I have the
Full URL path to files
set to a subdomain (e.g. https://img.mydomain.com) that points to thewp-content/uploads
folder.I don’t know how I can force the date on shared hosting to trip the year change to test this fully.
Could you please check the code to see if there is a reason this is happening.
Many Thanks!
- The topic ‘Permissions Reseting every January (750 & 640)’ is closed to new replies.