-A +A
  Total Views: 15213

I am getting a “not authorized” message on the web page I have created by using my METU user account. What should I do?

If you are getting a "not authorized" message on the web page you have designed using your METU central user account, this means that there is a problem in right of access to the page. You can overcome this problem by using one of the methods below;

  • With Horde:

    After entering Horde, from the top menu or from below the “my account” header, click on the file manager button. Select the wwwhome directory and click the change authorization option under the actions header and change authorization as seen below. Furthermore, you may check the access rights of the user home directory from the section next to the related directory.

  • By connecting to the server systems with Ssh:

    In order to check the access rights of the wwwhome directory:

    ls -ald wwwhome

    Run the above command. A line like the below will come up after the execution of the command. The first ten characters (drwxr-xr-x) on this line indicate the access rights to the wwwhome directory and should have the same values as below.

    drwxr-xr-x 14 uid gid 1536 Sep 20 12:10 wwwhome

    In case the characters are different, define the access rights of the wwwhome directory by running the commands below.

    chmod og=rx wwwhome

    Afterwards, in order to check the access rights of your home directory, type the command,

    ls -ald ~

    after which the below line will come up. Check that the first 10 characters have the same values as below:

    drwx--x--x 14 uid gid 1536 Sep 20 12:10 kullanici-kodu

    If the values are not as above, then run the command below:

    chmod a+x ~

    When these steps are completed the necessary directory structure to be able to design a web page will have been built.