In almost any mode, the main window of the file manager displays the contents of one of the directories in your home directory. When you first open the file manager, the contents of the so-called "root" of the home directory are displayed. To view the contents of a specific directory, simply click on its name or the icon next to it. To go to the "parent directory", you need to click on the topmost item, displayed as a directory icon with an arrow and two dots.
Remember that working in the file manager is subject to the rules for working in any UNIX system. In particular, you will not be able to see the contents of a directory if you do not have the appropriate rights (the R (read) and X (execute) bits must be set for all directories in your home directory). For more information, see Changing the access mode of a file or directory. If you see the message This directory is not accessible for viewing when viewing the contents of a directory, you will need to go back to the parent directory and change the access mode for that directory..
The access mode of a file or directory is the main way of limiting the rights of UNIX system users to a given file or directory. The access mode is set in the form of a triad - rights for the user (the owner of the file or directory), rights for the group, and rights for other users of the system. Each group of the triad consists of the following 3 flags (bits): R, W and X.
Read permission (R - read) allows the user reads the contents of the files, and in the case of directories - they view the list of file names in the directory.
Write permission (W - write) allows the user to write to a file. For directories, this gives the right to create new files and directories in the directory, or delete files in this directory.
Finally, the execution permission (X - execute) allows the user to execute files (both binary programs and command files). Permission to execute on catalogs allows the user to enter this catalog. At the same time, if the read bit for this directory is not set, then the user will only be able to enter the directory, but will not be able to read the file names contained in this directory - the directory will be empty for the user.
Also, the execution attribute must be present in CGI scripts. Usually, you need to use the access mode for executable files and directories
The presence of the possibility of reading your files or directories by other users should not scare you, since the rights
To change the access mode of a file or directory, click on the current value of the access mode. At the same time, a form for changing the access mode will appear in the upper information block. After changing this or that flag, press the Install button.
To rename a file or directory, you should click on the Rename icon ,
in the "Options" field opposite the corresponding file or directory. In this case, a field for entering a new name will appear in the upper information block. After entering a new name, click the Rename button.
Due to the peculiarities of the UNIX system, the renaming function can also be used to move files and directories. Since there is no difference between renaming/moving a file and a directory, we will give examples of renaming/moving only for a file.
To move a file to a deeper directory, you just need to enter the name of this directory in the new name field. For example, if the original file is called file.txt, and the directory to which you want to move it is some_dir/next_dir (i.e. the directory next_dir located in the directory some_dir), then in the new file name field you just need to enter the name of this directory (or rather, the path to it). In our example, it is some_dir/next_dir. If you also specify the name, the file will be renamed at the same time. So, by specifying a new file name some_dir/next_dir/another_name.txt, the original file file.txt will be located in the directory some_dir/next_dir under the new name another_name.txt.
To move a file to more "upper" directories, you should use the ../ entry to move the file one directory up. So, to move the same file two "levels" up, in the new name field, simply enter ../../. To simultaneously change the file name - as before, explicitly specify the new name after the directory name.
To delete a file or directory, simply click on the Delete icon
. Deletion is irreversible, so
if JavaScript support is enabled, you will be shown a corresponding warning and you can cancel the
deletion. When deleting a directory, it is deleted together with all its contents. If it is impossible
to delete a file or directory, you will be shown a corresponding error message, and in the case of deleting a directory,
a list of files and directories that could not be deleted. The main reason for such situations is insufficient permissions to delete (check the access modes
of the corresponding parent directories, which should include the ability to write for the owner of the directory).
To delete all the contents of a certain directory, in addition to the directory itself, you can use
the directory clearing function by clicking on the Clear directory icon
in the current directory menu. In this case, as when deleting a file or directory, you will be shown a warning. If it is impossible
to delete some elements of the current directory, you will be shown a list of them. The directory clearing function is convenient to use for subsequent unpacking of the archive, so that old,
possibly no longer needed, files and directories do not mix with new ones and do not take up extra space on the disk.
Text files and image files of some formats can be viewed directly in the file manager.
To view a text file, simply click on its name or icon. To prevent viewing large text files, the maximum supported size is limited to 200 kb. To view large files, you should first download them from the server to your local computer. For some text files (related to cgi scripts or html files), the option to display with "syntax highlighting" is enabled.
If the file size does not exceed 100 kb, when viewing it, a link is also available for direct editing the contents of this file in the browser.
Viewing of graphic images is supported for files of the following formats: gif, jpeg, ico, bmp and png (images of these formats are mainly used when creating websites). To view other images, you must first download them from the server to your local computer.
To the beginning |