Setting File Permissions
Previous Topic  Next Topic 

Squirrelcart needs access to upload images of your products, and other elements of your store. Because of this, we must assign permissions to the directories that Squirrelcart needs to write to. This is done differently depending on what operating system your server is running.

 

Setting permissions on a Unix / Linux based server

 

To set permissions, you will need to use the FTP client you used to upload your files. Because FTP clients vary, we are going to explain how this can be done in a typical FTP client. If you have difficulty, you may want to check the help within your particular client to see how you set permissions. A search for "permissions" or "CHMOD" should help. On a Unix based server, the command used to change permissions is called CHMOD. Most FTP clients call this command in the background, when you set file permissions.

 

1. Navigate to your images folder

 

With your FTP client, connect to your server, and navigate to the "images" folder that you just uploaded. In that folder, you should see the following:

 

 

2. Set permissions on image folder

 

Select all the folders within the images folder (products, categories, product_options, and content). With the folders selected, right click on them, and click "Properties". In the dialog box, look for a section that shows permission information. Our dialog box from FTP Voyager looks like this:

 

 

 

The section pertaining to permissons is at the bottom, where the 9 checkboxes are. In your FTP client, you may see either checkboxes like these, a single field for a numeric value, or both. If you have checkboxes, check them all. If you have a numeric field, enter "777". Then click OK.

 

 

3. Set permissions on sc_backup folder

 

Repeat the same process on the sc_backup folder that you created in the "Uploading Files via FTP" topic in this section. Set the folder permissions to 777.

 

 

Setting permissions on a Windows based server

 

Setting permissions on a Windows hosted account varies depending on your hosting company. Some hosts allow you to set permissions through a hosting control panel. Others require that you contact them directly in order to set permissions. Because of this, there is no one way to explain how to set your permissions. We recommend that you contact your host, and explain to them that PHP on your server needs full permission to the folders in the first screen shot above.