• Live Chat
  • Report an IT Security Incident
  • Request Help
  • Help & Support
    • Live Chat
    • Request Help
    • Track a Ticket
    • Knowledge Base
    • Getting Started
    • Working/Learning Remotely
    • Computer Labs & Classrooms Information
  • Service Catalog
    • ITS General Help
    • Accounts & Access
    • Communications & Collaboration
    • Computers & Software
    • Information Security
    • Network & Internet Services
    • Professional Services
    • Research Computing
    • Teaching & Learning
    • University Applications
  • About ITS
    • Our ITS Team
    • Strategic Plan
    • Annual Reports
    • Awards
    • Student Employment
  • Working with ITS
    • Architectural Standards Review Board
    • Banner Admin
    • Business Intelligence
    • Data Governance
    • Enterprise Data Integration Services (EDIS)
    • IT Business Analysis
    • IT Security Office
    • Projects & Project Management
    • Technical Business Solution Intake Request Process
  • Alerts & Outages
    • Unplanned Outages
    • Phishing Alerts
    • Maintenance
    • After Action Reports
    • Archives
    • ITS Alerts Sign Up
  • News
    • Bits & Bytes Signup
    • Bits & Bytes Submissions
    • Bits & Bytes Archive
    • Spotlights
    • Bulletins
George Mason University
  • Live Chat
  • Report an IT Security Incident
  • Request Help
X Hide

Information Technology Services

Skip to content
  • Help & Support
    • Live Chat
    • Request Help
    • Track a Ticket
    • Knowledge Base
    • Getting Started
    • Working/Learning Remotely
    • Computer Labs & Classrooms Information
  • Service Catalog
    • ITS General Help
    • Accounts & Access
    • Communications & Collaboration
    • Computers & Software
    • Information Security
    • Network & Internet Services
    • Professional Services
    • Research Computing
    • Teaching & Learning
    • University Applications
  • About ITS
    • Our ITS Team
    • Strategic Plan
    • Annual Reports
    • Awards
    • Student Employment
  • Working with ITS
    • Architectural Standards Review Board
    • Banner Admin
    • Business Intelligence
    • Data Governance
    • Enterprise Data Integration Services (EDIS)
    • IT Business Analysis
    • IT Security Office
    • Projects & Project Management
    • Technical Business Solution Intake Request Process
  • Alerts & Outages
    • Unplanned Outages
    • Phishing Alerts
    • Maintenance
    • After Action Reports
    • Archives
    • ITS Alerts Sign Up
  • News
    • Bits & Bytes Signup
    • Bits & Bytes Submissions
    • Bits & Bytes Archive
    • Spotlights
    • Bulletins

How can ITS help you?

Our services are designed to help you succeed at Mason—
search our services, knowledge articles, how to guides, FAQs, and more.

Knowledge Base

Home > Help & Support > Knowledge Base > Web, Servers & Data > Web Dev > What are homeweb scripts?
Homewebon | Run homewebon | Homeweboff | Run homeweboff |

What are homeweb scripts?

Homeweb scripts are available for use on the mason.gmu.edu cluster to help users more easily set up their personal websites and permissions. There are two scripts, homewebon and homeweboff.

Homewebon

Homewebon sets permissions on your user folder and creates a public_html folder with appropriate permissions for uploading public web content. The script:

  1. Changes permissions on your home drive to 711. This sets permissions so you, the file owner, can read, write, and execute the file. Group can’t read, can’t write, and can execute the file. Others, such as web viewers, can’t read, can’t write and can execute.
  2. Checks if you have a public_html folder already created, if so it goes to the next step. If not, it will create the directory for you.
  3. Changes permissions on your public_html folder to 755. This sets permissions so you, the folder owner, can read, write, and execute within the folder. Group can read, can’t write, and can execute within the folder.  Others can read, can’t write, and can execute within the folder.

These steps are required in order for the webserver to be able to serve your web files publicly.

Run the homewebon Command

Step 1

Connect to VPN.

Step 2

  • Connect to the Mason Cluster via PuTTY (Windows)
  • Connect to the Mason Cluster via Terminal (Mac)

Step 3

At the command prompt, enter
homewebon
and then enter.

Homeweboff

If you would like to remove your website from public view, you may use the homeweboff script to do so. This script changes the permissions on the directories so they are no longer viewable online. Please be aware, your content may still be cached or archived in other places across the web.

The homeweboff script does the following:

  1. Restricts access to your home drive folder by setting permissions to 700. You, the folder owner, can read, write, and execute within the folder. Group can’t read, can’t write, and can’t execute within the folder. Others, or web viewers, can’t read, can’t write, and can’t execute within the folder.
  2. Restricts access to your public_html folder by setting permissions to 700.

Run homeweboff Command

Step 1

Connect to VPN.

Step 2

  • Connect to the Mason Cluster via PuTTY (Windows)
  • Connect to the Mason Cluster via Terminal (Mac)

Step 3

At the command prompt, enter
homeweboff
and then enter.

This will not delete your web files, but will change permissions on the folder so the contents of the folder are not publicly accessible.

Step 4

Confirm your webpage is no longer public by attempting to visit in a web browser. Please note: you may need to use a new browser and/or clear your browser cache.

Last modified: January 16, 2024

Previous

How to Request a Virtual Host (Shorter Web Address)

Next

How to Request a Virtual Host (Custom URL)

Related articles

  • How to Request a Virtual Host (Shorter Web Address)
  • How to Request a Virtual Host (Custom URL)
  • What is the web development disclaimer?
  • How do I subscribe to the Web Development Discussion listserv?
  • What software should I use for web development and design?

Get Started at Mason

Whether you are a student, faculty, staff member, or a guest visiting the Mason campus, we have resources to help get you started.

READ MORE

Quick Links

Patriot Pass Password Reset
Create a Ticket
Track a Ticket
PuTTY
Cisco AnyConnect VPN

READ MORE

Explore IT Services

A B C D E F G
H I J K L M N
O P Q R S T U
V W X Y Z #

I T S Logo

© 2024 George Mason University
4400 University Drive
Fairfax, Virginia 22030

Follow Us
location pin for in-person IT support   @GeorgeMasonITS
location pin for in-person IT support   @georgemasonits
ITS Support 24/7
   703-993-8870
   Live Chat
  • Webmaster