2.5.1.7. Symbolic links

Notes:

  • In the root directory of the hosting account, there is always a symbolic link to tmp directory.
  • Symbolic links can be created console commands.

A symbolic link (symlink) is a special file containing the address of another file or directory. When a symbolic link is accessed, the file or directory that it points to opens. Such a link can be used to organize access to one directory from directories of several sites without creating copies of it.

The access rights of a symbolic link are always displayed as rwxrwxrwx and do not affect anything. The access rights to the link itself are determined by the rights of the directory in which it is located. The access rights to the file or directory that the link points to are determined by the own rights of the target file or directory.

  1. Find the file or directory you want to link to.
  2. Select the found file or directory, right-click on it and select «Create symlink»:
  3. Go to the directory where you want to place the link.
  4. Right-click and select «Insert symlink»:
  5. Enter the name of the link and confirm the operation:

A symbolic link is removed like a regular file or directory. It is enough to select it, right-click and select from the context menu «Delete»... The file or directory that the link was pointing to is not affected.

Content