How to change file permissions using CoreFTP

For added security, files uploaded to web.hku.hk are owner readable and writable (600) only. This means only the owner can read, edit and delete the files. This is to avoid files accessible by anyone without the owner’s knowledge if file permission is granted world readable or searcheable.

If you wish to make your files accessible to anyone, you can change the fie permissions using CoreFTP.

 

    1. Start Core FTP (can be downloaded from http://www.coreftp.com/download.html (Core FTP LE 2.2 : free version)).
    2. Click the Site Manager window, click New Site button.  In the Site Name field, type web.hku.hk.
    3. Enter web.hku.hk in the Host/IP/URL field.
    4. Type your account name (HKU Portal UID) in the Username field (you must have an account on the web host server).
    5. Type your account password (HKU Portal PIN) in the Password field. Uncheck the Don’t save password box.

coreftp_premission_01

    1. In the Connection drop-down menu, select SFTP/SSH.

coreftp_premission_02

    1. Click the Advanced button.
    2. Select Transfers.
    3. Check Do not use MDTM for date/time. Click OK.
    4. In the Site Manager windows, click the Connect button.
    5. You will see the following pop-up window. This is a feature of the SSH protocol. It is designed to protect you against a network attack known as “spoofing” – secretly redirecting your connection to a different computer for getting your password. Click Yes to continue.

coreftp_premission_03

    1. In the Core FTP window, the local system (your PC) appears in the left window and the remote system appears in the right window.

coreftp_premission_04

    1. In the right window, locate the public_html folder. Highlight the file that you want to change its permissions.
    2. Right click and select Properties.

coreftp_premission_05

    1. In the File Properties window, there are three groups.If you wish to make your folders accessible to anyone, tick the Read box and Execute box under the World group.

coreftp_premission_06

If you wish to make your files accessible to anyone, tick the Read box under the World group.

coreftp_premission_07

  1. Click OK.  CoreFTP program will update the file permissions on the server
1
0

MFA

Multi-Factor Authentication

February 2024
February 2024

Mandatory for all staff accounts

May 2024
May 2024

Mandatory for all student accounts