U-Drive

If you plan on having CSUN host your site, you will need to place all of your work in the CSUN U-drive.

To connect to the u-drive, follow this link http://www.csun.edu/itr/guides/webpublishing/general.html (keep in mind which machine you are using, PC or Mac) Students have a limit of 100mb of space in their u-drive. If you look at your allotted space, it will tell you how much space you have available, if it appears that you have almost 100 mb available, then you are fine. If it appears that you have 10 mb or less, then you will want to write a letter to helpdesk@csun.edu requesting that you receive in increase to 100 mb for your udrive.

When using the udrive, you will need to place all of your work in the folder called 'public_html' If your work is outside of that 'public_html' folder, it will not show up on the web.

When you connect to your udrive, look and see if a 'public_html' folder exist. If it already exist, then you can start placing your work directly in that folder and skip the following section labeled (Using The Terminal Program in OS X to set your Privileges for your Web Pages).

If the 'public_html' folder does not exist in your udrive, then you will want to do complete the next set of directions ( Using The Terminal Program in OS X to set your Privileges for your Web Pages)

 

Using The Terminal Program in OS X to set your Privileges for your Web Pages

*Basically, you will remove the 'public_html' folder from you u-drive and then follow the steps and it will automatically create a new 'public_html' folder in your u-drive and you will need to place the contents back in the newly created 'public_html' folder in your u-drive. After all of this is complete, go back to your Web address and hit either refresh or reload and your Web page should work and no longer say 'forbidden.'

Prior to starting, you will need to connect to your u-drive and cut your 'public_html' folder and place it on the desktop or storage device.

Now, you should no longer have a 'public_html' folder in your u-drive.

After you complete all of the following steps, you should find in your u-drive a newly created 'public_html' folder.

Next, you will then go back to where you placed your 'public_html' folder and copy all of the contents inside the folder and copy them into your newly created 'public_html' folder in your u-drive.


Step #1 Open the Terminal program in OSX.
If the terminal screen does not open, open it manually by going to Hard Drive/Applications/Utilities/Terminal on your Macintosh hard disk. Double-click the application open.

The commands are case sensitive, so type them just as you see them

At the prompt on the screen type:
ssh userid@towhee.csun.edu (for userid, place your userid example ksu38274)

Step #2 Log in with your Password from your email account (when you get to the password, the cursor will not move and you may think that it is not working, but type in your password and press enter. Wait a few seconds and the terminal prompt will come up similar to the picture in step 3.

Step #3 At the prompt,


type:
mkdir public_html

chmod 711 $HOME

chmod 755 public_html
Each time you are successful, it will just return you to the CSUN prompt. Repeat them, one after another, until finished. The type exit to exit.

 

If Assignment comes up 'Forbidden', do the following...

-If your Web site works (you are able to view your homepage and portfolio page), but the assignment links from the portfolio page doesn't work, you will need to do the following (option 2 is easier)

Option 1...

Option 2 (when using a Mac)

  • open up your udrive and get to the screen that has your assignment(s). Once you see your file, drag that file from your udrive onto your desktop. It should make a copy to your desktop. Now, you should have the same file in two locations, on your desktop and on your udrive.
  • Click on the file that you recently dragged on to the desktop once and then go to 'File' and choose 'Get Info.'
  • Click on the triangle next to 'Ownership & Permissions.' The triangle should be facing down.
  • You will see another triangle next to 'Details' and that triangle also needs to be facing down. Now that both those triangles face down, look where it states 'Access'
  • If next to access, it states 'No Access,' then click on the drop down menu and change the setting to 'Read & Write.'
  • Once you have change the access, you will want to get the file that is on your desktop and drag it over to your udrive and drop the file where the exact same file is located. Once you drop this file, it will ask you if you want to replace, because it contains the exact same file name and you will select 'Replace.'
  • Go to your portfolio page again and hit 'Refresh' or 'Reload' and check the link. It should be working now.