File Permissions ~ IDEs

File permission errors are corrected using a terminal or right-click menu
File permission errors are corrected using a terminal or right-click menu.

If, when viewing a file in the browser, an error message appears that says the page cannot be viewed or it is only ‘writable’, then the file or its parent folder has a permission problem.

Solve the problem

Using CodeTasty

  1. File → New Terminal.
  2. Type: chmod 755 about/index.php
    Terminal chmod file permissions change
    Terminal chmod file permissions change
  3. If you want to set an entire folder at 755, so that all its contents get the same permission setting, right-click on the parent folder, which is ONID for OSU students. Choose New Terminal from the popup menu. Type: chmod 755 -R about. Replace the ‘about’ folder name with any other folder name that needs Recursive permissions.

Using CodeAnywhere, ShiftEdit, FileZilla, WinSCP, or Dreamweaver

  1. Right-click on the folder or file on the remote server.
  2. Choose Properties or Permissions, depending on the software.
  3. Change permissions to 755, which looks like this:
    File permissions set at 755
    When set to 755, the owner is the only one who can write to that file. Groups and the Public can read and execute it, which is important for the markup, styles, and functions to behave properly.

Some File Transfer software might require you set the file permissions for an entire folder before you begin adding files to it. For new files and folders, update the preferences so that new ones are automatically set to 755: File→Preferences→search FTP. Click on FTP and update the permissions. Click Submit.

Resources

White Board: CMS Configuration

Describe and/or compare these WordPress Components:

  1. What is the difference between these content types: Post, a Page, a Comment, and a Link?
  2. What are the two types of Categories and why do we need them?
  3. Which content types create automatic menus?
  4. What is the difference between a Category and a Tag?
  5. What are nice URLs or permalinks and why do we need them?
  6. What is the difference between an image’s Title, Caption, Alt Text, and Description?

White Board: Security Case Study

Identify risks, problems, immediate actions, and long-term prevention solutions for the future based on the Cable TV website fiasco.

1. Risk/problem:

Immediate Action:
Long-term Prevention
2. Risk/problem:

Immediate Action:
Long-term Prevention:
3. Risk/problem:

Immediate Action:
Long-term Prevention:
4. Risk/problem:

Immediate Action:
Long-term Prevention:
5. Risk/problem:

Immediate Action:
Long-term Prevention:
6. Risk/problem:

Immediate Action:
Long-term Prevention:
7. Risk/problem:

Immediate Action:
Long-term Prevention:
8. Risk/problem:

Immediate Action:
Long-term Prevention:
9. Risk/problem:

Immediate Action:
Long-term Prevention:
10. Risk/problem:

Immediate Action:
Long-term Prevention:

Whiteboard: User Flow

Topic provided in the lecture:____________________________

  1. What are 3 or more questions you could ask the client?
    • 1.
    • 2.
    • 3.
  2. What are 3 or more questions you could ask that client’s customers?
    • 1.
    • 2.
    • 3.
  3. Diagram the flow from 1 entry point to goal:
  4. Name at least 2 primary audiences?
    • 1.
    • 2.
    • more…
  5. What are at least 3 long-tail search phrases that locate similar sites:
    • 1.
    • 2.
    • 3.
    • more…

Whiteboard: Framework components

Describe each of these framework components in your own words in complete sentences:

  1. modernizr.js
  2. jquery-3.2.1.min.js
  3. .htaccess
  4. robots.txt
  5. robots meta tag
  6. normalize.css
  7. browserconfig.xml
  8. crossdomain.xml
  9. humans.txt
  10. .editorconfig
  11. .gitattributes