Automattic / underscores.me

https://underscores.me
GNU General Public License v2.0
210 stars 118 forks source link

No Read Permissions #53

Closed philiparthurmoore closed 7 years ago

philiparthurmoore commented 7 years ago

Moved over from https://github.com/Automattic/_s/issues/1128.

davidakennedy commented 7 years ago

Hey @cesarcopi, I can't seem to reproduce this locally on a server. Anything special about the server you tried on?

cesarcopi commented 7 years ago

No, nothing special. I downloaded the custom template from their website http://underscores.me/ and I installed the template in local

davidakennedy commented 7 years ago

@cesarcopi Thanks for reporting back. I tried on a few different local installs, as well as a live sever, and can't reproduce this. I'm going to close it, but will be mindful of this if it pops up again. We can always reopen and try to nail it down if we get more details.

cristacheda commented 6 years ago

Hello! I've been having the same issue for a few months now. These are the steps that I take for each and every project:

  1. Generate new theme on underscores.me
  2. Unzip theme into WordPress installation (for local development I'm using Vagrant with Scotch Box)
  3. Code the theme and test it locally
  4. Upload the website on a shared Linux server (from a local company - already checked the issue with them, they do not rewrite permissions on upload)
  5. Fix the permissions manually from cPanel File Manager

From what I observed only the theme folder and the initial folders within have this issue. The folders that I create during the development process have the right permissions.

cesarcopi commented 6 years ago

You can use this commands from the console:

For Files find . -type f -print0 | xargs -0 chmod 644

For Folders find . -type d -print0 | xargs -0 chmod 755

grappler commented 6 years ago

@cristacheda and @cesarcopi What permissions do the files and folder have when you first download the zip file?

What OS are you using?

I tried to replicate the issue on a mac and failed to too.