This is typically a file ownership problem — in a normal install, WordPress runs as the webserver user (www-data in the default Ubuntu install of apache). When you create files or copy them into your web directory, they’re owned by your normal user account. sudo chown -R www-data your-theme-directory should take care of it.
Related Posts:
- How to prevent plugin, theme installation failures on WordPress?
- Migrating October CMS to WordPress
- During theme installation theme upload failed
- wp theme.. Could not create directory
- WordPress not displaying themes in the wp-content/themes folder
- How to run WordPress from other location on the same domain
- Permissions for installing themes and files in general?
- Configure new installed WordPress in live server
- Installing a theme on localhost, Ubuntu 16.04
- Create QuickStart Package for WordPress just like in Joomla
- Get WP Install Directory
- Error when installing theme – “failed to open stream: No such file or directory in…”
- How can i set default pages to a word press theme? it shouldn’t be changed even if i install the theme in different host
- Customized wordpress theme locally put on someones WordPress account
- WP-CLI wp theme install url PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature
- Orion theme (from theme forest) [closed]
- I can’t install theme: theme install failed
- hardened wordpress linux install
- How are my own themes updated?
- Theme install failed
- Opinions and recommendations on the best barebones base theme [closed]
- How to change the language for the front-end only?
- Different template of products for specific category. WooCommerce
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- what the best way to include images from the template’s images folder?
- Switching themes without losing widgets?
- How to use media upload on theme option page?
- WordPress 5 / Gutenberg – theme doesn’t have featured image option showing up
- How to refresh WordPress Customizer panel upon entering a value
- Set Featured Image for Archive templates
- How do I add a new string to a .po or .pot file?
- Multiple image logo for theme
- How do I change Twenty Nineteen’s primary color without using the color slider in the theme customizer?
- How to add the main style.css to my index.php?
- How to attach region identifier to a pretty url?
- Remove action within a class in a parent theme from the child theme
- How to get themes from wordpress.com per SVN? [closed]
- Edit raw HTML of the landing page
- Can I apply a WP theme to a specific custom page template?
- How to move WordPress theme files into a subfolder without breaking the theme?
- remove rel=next on home page but not others
- Disable Sidebar in the Product Page in Storefront Theme [closed]
- How do you create a custom WPTouch theme?
- Added a new template file to a theme – get Call to undefined function error
- Renaming the Twenty Fourteen WordPress theme
- Defining different theme for Blog posts page
- Working with an Array inside Your Theme Options Array – Multiple Values
- WordPress Theme for Video Showcase [closed]
- How to understand a specific bit of WordPress syntax
- How to unset comment_notes_before field in WordPress comment_form
- Widgets menu does not appear under “Appearance” in dashboard
- Theme and plugin install or update display error in localhost
- How to loop over wp_get_themes() and create an array of themes name
- Combining wordpress themes
- Custom options below pages/posts editor?
- Fatal error with a theme
- WordPress theme options and insert default value for serialize data
- Switching to a child theme
- Restrict access to specific widget field based on user role
- Twenty Twelve theme search returns Nothing Found
- Files empty after moving with FTP
- How to use one theme for multiple WordPress sites?
- Make multiple pages and set template/content on theme activation?
- Need to edit themes HTML code
- Newbie wordpress question re banner height
- How to add custom JS file in WordPress Child theme with get_theme_file_uri
- Adding the jQuery to my theme that already exists in WordPress?
- Interpretation and explanation of register sidebar
- Removing the references to the wp-content folder
- Cannot update a file for my theme
- Do all themes accommodate all features?
- How to reduce Header at the top of the page
- Custom fields not displaying on front end
- remove theme’s name from dashboard .. How?
- how to stop a gallery slideshow
- Change “published by”
- Theme seems to be preventing me from adding a new page to my site
- WordPress margin issues
- 12 column grid layout
- Remove style id inline CSS in WordPress
- How to find file that placed a line in my header
- Where to find child themes?
- dynamic image path within a javascript file
- how to create a section inside a section with theme options customizer
- theme continuous deployment from bitbucket to windows azure
- Changing themes on locally hosted webpages
- Changing admin Textarea to integrated WP editor
- Line break no working on theme
- What is the template file for topic layouts in bbPress?
- Style of a theme
- permissions on themes directory
- Categorising themes by folders in backend
- Theme Options Menu Item – Permission Issue
- suspicious boolean.php file in wp web root [closed]
- What is the name of the theme/plugin used for WordPress Answers [closed]
- What theme does this website use? [closed]
- Where can I find the “add_action()” inside a theme?
- totally confused about editing wp theme….new guy to wp
- Header Paperpunch theme disappers with IE9 [closed]
- Why does twentysixteen take a free hand in dealing with longstanding usability principles? [closed]