2.5.7. Symbolic links
- 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.
- Find the file or directory you want to link to.
- Go to the directory where you want to place the link.
Removing a link
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.