Indiana University

IU Webmaster

Changing file permissions using WinSCP

  1. Login to your web account using WinSCP. For step-by-step instructions on how to connect to Webserve using WinSCP, please see How to use WinSCP.

  2. Move into the directory where your files reside by double clicking on the folder in the right pane. For example, if you want to change the file permissions of a file in your www directory, double-click the www folder to open it.

  3. In the example below, we will change the file permissions for index.html located in the www folder. To change the permissions, follow these steps: [1]. Right click on the file name or folder whose permissions you wish to set. A pop-up menu window will open. [2] Select Properties.

    For a larger view, click on image below.



  4. The Properties window for the selected file will open (see image below). To change the permissions, you can either [1] check the Permissions check boxes or [2] edit the Octal text field. Both the check boxes and Octal text field are synchronized, and a change in one area will be reflected in the other.

    To make the file viewable on the web, in the Permissions section of the Properties window, for Owner check R (for read), W (for write), and X (for execute). For Group and Others check R and X. Alternatively, we could type 0755 in the Octal text field.

    Note: On Webserve, permissions for files with these extensions: .php, .php4, .pl, .cgi should be set so that the only check boxes selected are R, W, X for Owner (Octal = 0700). These files are special files that require different permissions than standard html/shtml web files.

  5. Click OK. Now use your browser to verify that the page is viewable on the web. You may need to click on the Refresh/Reload button in the browser window.