Setting Group Write Permission on Web Pages— Unix Instructions

Last Updated: 05/06/2014
Layout:
One Column
Two Column

Overview

If your web site has more than one person making updates to the web pages, it is important to set the proper write permissions. Setting the group write permission will allow all of the people who are in your web site group to make and publish updates.

The following instructions demonstrate how to add group write permission onto files, directories, and multiple files at once.

The method used to add permissions is Unix based.

This tutorial applies to the following operating system(s):
  • MAC
  • WINDOWS
  • LINUX

Step 1

Adding Group Write Permission to a File

After you have logged in to your server (whether it be spot or rintintin), use the "cd" command to navigate to the directory of pages that you wish to change the permissions for.

Step 2

Use the "dir" command to see a list of files and directories.

Step 3

Observe the permissions for the file you wish to change. The middle set indicates group permissions.

Visual representation related to step 3

Step 4

To give a file group write permission, type chmod 664 filename and press enter or return.

Visual representation related to step 4

Step 5

You have now given your file group write permission. Use the "dir" command to refresh your list of files, so you can see the changed permissions.

Observe the middle set of letters. These indicate the permissions for the group. A "w" has been added, which indicates that members of the group now have permission to update and publish updates of this file.

Visual representation related to step 5

Step 6

Adding Group Write Permission for Directories

To give a directory group write permissions, type chmod 775 directoryname and press enter or return.

Visual representation related to step 6

Step 7

You have now given the directory group write permission. Use the "dir" command to refresh your list of files and directories, so you can see the changed permissions.

Observe the middle set of letters. These indicate the permissions for the group. A "w" has been added, which indicates that members of the group now have permission to upload files to this directory

NOTE: Even though you have give the directory group write permission, that doesn't mean that all the files inside the directory have group write permission. You will have to set the permissions for those files as well.

Visual representation related to step 7

Step 8

Adding Group Write Permissions for Multiple Files

Use the "cd" command to open the directory.

Visual representation related to step 8

Step 9

You can change many files at once. To give all the files in the directory group write permission, type chmod 664 filename filename filename and so on for however many files you wish to change. Then press enter or return.

Visual representation related to step 9

Step 10

Use the "dir" command again to get a refreshed view of your files' permissions.

The files have been given group write permission. You can tell this by the middle set of letters, which indicates the permissions set for the group. A "w" has been added, which indicates that members of the group now have permission to update and publish updates to these files.

Visual representation related to step 10



Back to top