I’ve had the same problem, and in my case it was the WordPress cronjob. I was calling the wp-cron.php as a root cron job, and this script also generates the monthly upload folder.
If you call wp-cron.php via cronjob you need to do this as the web server user (or i.e. in Plesk the site user and group psacln). The owner of the created monthly folder is always the user the wp-cron.php is called from.
Related Posts:
- Can’t upload media, permissions are correct
- Media not actually deleted on disk when click “Permanent Delete”
- What permissions does wp-content/uploads need?
- Moving Media Library
- Maximum upload size changes in php.ini ignored – How to remove upload size limit?
- What error logs can I check to see why plugin updates are failing?
- Flatten media files in uploads directory via linux terminal eliminating thumbnails?
- Copying uploaded images not working in wordpress
- The uploaded file exceeds the upload_max_filesize directive in php.ini
- Hide images from anonymous user?
- Saving file to disk receiving fopen error
- User permissions to upload images
- wordpress upload permission on nginx & ubuntu
- How do I force WP to set upload directory permissions correctly?
- How to upload prc file type?
- Unable to upload anything to WordPress site
- I migrated WPMU site: Unable to create directory uploads/… Desperate for help!
- Used Duplicator to transfer a site. Now my media uploads aren’t working
- Problem uploading files, after changing domain name
- Basic File/Post restriction plugin
- Cannot upload themes. Error: “The uploaded file could not be moved to /var/www/wp-uploads/localhost/2011/10.”
- Set limit to media upload?
- Use a separate custom table (not posts) to handle file upload data
- Custom upload directory per CPT; when removed, file not deleted
- Modify featured image path to Amazon S3
- How to set an upload directory for each media type?
- WordPress Media Manager – limit to specific mime type
- Override json encoding in rest api
- Prevent users from accessing mp3s in my uploads folder?
- Manipulating Media uploader
- How to set file type in wp_handle_upload?
- Editing WordPress Permissions in LAMP – Ubuntu 11.10
- How to limit file type to be upload?
- Benefits of storing uploads in an assets folder?
- Create custom tab in WordPress 5 media upload
- Add/change multipart_params parameter when uploading post image
- How to change the image size in new Media Uploader (ie use medium vs thumbnail)
- Use WP_Filesystem to list files in directory
- White-list file types for media upload
- Gravity Forms – Repeatable “File Upload” field using “gform_column_input_content” filter [closed]
- Intercept request to /wp-content/uploads/random.file
- Using wp-uploads instead of wp-content/uploads
- Add media attachment filter to custom wp.media frame
- How to proxy local WP uploads folder to live site
- Upload files to wp-content/uploads – What to add in DB?
- Front-end Image Upload with Preview – Is this Possible in WP?
- How to change “Publish” button text for specific page
- How can I receive the image id using the media box?
- media sideload image not working with JPG file
- Placing assets for external use
- programmatically create posts from files in a folder
- add_image_size() and uploading the exact size leaves 1×1 image in uploads
- How do I insert an already uploaded video file into my Media Library?
- Split up files from one big folder to multiple folders in uploads after migration
- WordPress uploads autocreate folder every month
- Enabling users to upload files
- Extra “uploads” added in path
- Is there a way to make my media files unsearchable?
- Is it possible to use media_sideload_image to upload local files?
- How to switch to year/month directory structure format from a single folder
- Attach media to post by media category
- Rename attachment filenames to attachment ID on upload
- WordPress Media Library showing wrong preview size?
- upload_max_filesize is set to 64 MB already but WordPress is still showing 2 MB
- How to fix the orientation of images when uploading via the WordPress Media Uploader? [closed]
- Uploading PDF files from the front-end
- Uploads going to the root of wp-content/uploads
- WordPress Images, Header Videos and Carousel is not working live but perfect on Local Host Is It FTP? Filezilla?
- Can’t upload images (incorrect “file exceeds upload_max_filesize” error)
- Anybody knows if i could upload a leaflet or openlayers3 map to wordpress webpage?
- Theoretical limit of upload file size [duplicate]
- Remove Media File Items From Server That Do Not Exist in Media Library
- All my files are on my blog! I need sync solution
- Efficient way to move media folder to another folder
- Limit users to specific uploads
- media file uploading
- What is wrong with my wp_insert_attachment code?
- Editor User Role can’t see other users media
- How to allow .ged file uploads
- Media files not loading
- problem when uploading file by metaboxes
- What folder to place Large Video files?
- Organizing the Media Library for Cleanup
- Allow author to upload image via Media button without plugin
- Failed to load resource at admin screen
- Make custom thumbnail size image in media_sideload_image function
- Upload file to front-end form and send as email attachment
- uploading photos
- Single file upload
- Host Images from Link
- Upload media error: unable to create directory (windows hosting)
- Add frontend editor with media buttons for Visitors and display only their media
- Can’t upload files 1MB+ [closed]
- WordPress Custom Fonts Problem! [closed]
- I want to customize wp.media (the wordpress admin uploader) in order to change the file name but only in video custom post type
- WordPress files owner changed silently
- Updating Media Library PDF’s in bulk
- Why is “chmod -R 777 /” destructive?
- Assign multiple categories to Media Library upload
- Update media item using wordpress rest api in python