The unfortunate answer is that I don’t think there’s anything you can really do to prevent this.
Assuming we’re talking about a Linux based server as the destination for your theme, the umask settings for the ftp user determines the permissions for new files, such as a fresh upload of your theme’s files.
It also could be affected by whether or not the ftp user being used to upload the files (who will also be the owner of the file) is the same as the user running WordPress or in the same group. However if there is any sanity in their server setup all those files should be readable by all users, but it sounds like your issues with JavaScript files suggest that isn’t the case.
Related Posts:
- FTP credentials on localhost [duplicate]
- Unable to locate WordPress Plugin directory. ftp_base not working?
- Plugin installation not possible / FTP credentials in WP-config
- Valid Connection Information is Getting Denied
- PHP Fatal error: Call to undefined function wp_cache_get() in /var/www/vhosts/visisite.com/httpdocs/wp-includes/functions.php on line 1367
- Why wordpress cannot write to directory and how to fix it?
- How to edit page content after downloading the site files
- Upload files only on FTP
- FTP installation of WordPress
- SSH Server with WordPress
- Download PHP and CSS from the WordPress admin page without FTP
- How to cause the WordPress web interface to update via FTP
- WordPress FTP Error: “Failed to connect to FTP Server”
- Does WordPress still ask for FTP credentials for each file operation?
- How I do I host a simple html file through wordpress? (see details) [closed]
- FTP or Cpanel installation of WordPress
- Website Got Hacked – Fixed – Now Cannot Activate Theme
- FTP Connection Information after Installation in Cygwin
- How to auto upload image from external source(computer) to webpage
- WordPress change homepage link (htaccess) (index)
- Upload and configure WordPress
- ftp not retrieving my directory file ,anyone have solution?
- FTP connection information + warning lines appearing on the homepage of my campsite?
- Failed to connect to PC:21 – WordPress & XAMPP
- FTP file manager AS wordpress site
- Is there any way to ftp into wordpress if I paid for my own domain? I want to set up google analytics
- WordPress not syncing with FTP
- file compressed the content on single line after upload in wordpress
- How to use rsync over FTP
- Using wget to recursively download whole FTP directories
- Error in FTP connection using domain name, username and password?
- Filezilla FTP Server Fails to Retrieve Directory Listing
- How to recursively download a folder via FTP on Linux
- How to download a file via FTP with Python ftplib
- Upload files with FTP using PowerShell
- What security concerns should I have when setting FS_METHOD to “direct” in wp-config?
- wordpress on localhost lamp doesn’t let me install plugins
- Update media library files after upload via FTP
- How to save Admin FTP password
- Where does wordpress store the FTP credentials?
- WP Asking for FTP Credentials with XAMPP Localhost
- Failed to connect to FTP Server 127.0.0.1/:21
- Plugin to edit htaccess file
- WordPress keeps asking for connection information in localhost
- Is there a way to figure out the way to access hosting if I have admin privilege?
- Image upload via FTP to wordpress media library
- Theme not showing after uploading
- Upgrading WordPress 4.0 asks for FTP password
- In which directory do I find a specific HTML code of my wordpress page? Some of it seems to be missing after checking all pages [closed]
- Standard permissions for wordpress; Plugin installation asks for FTP credentials
- WordPress php error after editing file with FileZilla
- Editing page content through FTP?
- Why does One Click Update fail on localhost using FTP with 777 permissions on site files?
- Moving WordPress from host without FTP?
- Images are randomly deleted from server
- How can I view or FTP into my WordPress site hosted on AWS?
- Restored WordPress on new Server – Can’t auto-update plugins
- Publishing html directly from ftp to wordpress
- what could cause the htaccess file to be modified?
- Must I download entire WP directory for each separate instance/website that uses WP?
- Changing CSS FilePath for All Pages
- How to upload a file from WP directory automatically?
- transfer a file from one domain to another via wp
- Problem with updating a plugin
- Do we have to use ftp to recover from a bad functions.php edit?
- Install and Update plugins on a VPS WordPress installation
- FTP Widget Location
- WordPress Installed But Not Showing Up! [closed]
- Storing FTP details in wp-config.php
- disabling ftp on wordpress
- How is FTP used for upgrade?
- Plugins successfully uploaded via FTP but they are not on my site
- My redirect URL doesn’t show any pages on my website [closed]
- will creating a static folder in the root directory serve the purpose of loading the static content from cookieless domain?
- WordPress 4.4.2 Update not working
- I want to edit it on my laptop as a child theme and transfer the files to my server. I don’t know how
- Site migration from Localhost to Server – 404 errors
- Wp-Admin FTPS Connection Error unlike Filezilla
- SFTP define in wp-config.php
- Help with accessing wp-admin page and resolving error messages
- Deleting /wp from my website URL
- The style.php file inside theme-engine folder has other content on FTP
- Disabling forced FTP credentials for any updates
- why is sportspress asking for FTP credentials on a local installation?
- CSS and JS not loading after uploading onto server
- Using any plugin results in http 500 error (and only plugins)
- How to handle a lot of media files in the uploads folder? (+10.000)
- blank page after update my theme
- Installing Theme from uploaded file. Not uploaded theme?
- WordPress FTP/media directory permissions problem?
- CSS updates appear after delay [closed]
- Changing themes on locally hosted webpages
- Second completely independent and disposable WordPress installation in subdirectory?
- Plugins upload to wordpress in wampserver via filezilla
- FTPS Uploads – wp-content cannot be found
- Hide/Remove Wp Directory /wp-content/uploads/
- How to stop repeated hack on header.php of custom theme? [closed]
- New folder and file permissions are not correct
- Allow SFTP but disallow SSH?
- FTP Password (not private key-value pair) for EC2 Instance