KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-use-file-manager

This is an old revision of the document!


How to use File Manager

This guide is focused around deployed servers with DirectAdmin's new skin "Evolution"

DirectAdmin's file manager is not much different from other file managers. This file manager, much like others allows for the same utilities.

  • Create Files
  • Upload Files
  • Create Folders
  • Modify Permissions
  • Delete Files

This interface is capable of doing many things, including editing files for quick modifications.

This guide will be covering the general use of the File Manager.

As always, if you ever require assistance – please reach out to us.


Accessing File Manager

The file manager can be accessed by both the 'admin' user and the individual users created for DirectAdmin

To access the File Manager you would go "System Info & Files –> File Manager". This process is the same for both; the screenshot covers it from the user view.

Once inside; you'll see the following view – the file manager itself

You'll see that it's not much different from most file managers.

You have the following options available on this screen

  • Create Folder
  • Create File
  • Upload File

Deleting Files

In order to delete a file, we'll want to navigate to the 'public_html' directory – highlighed below – you can click on it to enter into that directory.

Once inside; you'll see a layout of all the files within this directory.

The folder we're going to delete is 'khtest'. You'll want to ensure it's checked (green check) – when it does; you'll see a black bar appear at the top with various options. We'll use the 'delete' one to delete.

You'll get a confirmation request, click 'Delete' and the file will be removed.

You can also click the folder for an alternative menu with various additional options

Changing Permissions

To change permissions of the folder; you'll want to ensure the file is checked (green check) – when it does; you'll see a black bar appear at the top with various options. We'll use the 'Change Permissions' one to adjust permissions.

You'll notice that the permissions are set to '000' – there are some circumstances where you may experience an issue with deletion, such as a folders permissions being set to 000.

This will help you fix that.

Permissions set the rights that a folder or file may have. These are broken down into three sections;

  • owner = file owner
  • group = owner's group
  • other = everyone else on the server

Which is given permissions by the following; read, write and execute.

Value	Permission
4	read (r)
2	write (w)
1	execute (x)

Here's a general idea of how it looks.

Owner Group Other
Read ( r ) 4 4 4
Write ( w ) 2 - -
Execute ( x ) 1 1 1
Total 7 5 5

The above shows that the owner of the file can read/write to the file.

The group can only read the file.

Others can only read the file.

This is basic file permissions for folders(755); files are 644

So when you have 000 used or applied to your files/folders; then none of the respective groups can modify or access the files or folders.

When you click 'Change Permissions' you'll get the following window to make your adjustments.

We'll set it to '755' as that is the default permissions for folders.

This will make that folder and everything under it accessible again.

Click "Set" to change the permissions and you'll see the updated permissions!

You can click the 'folder' or 'file' to use the alternative menu for adjusting permissions too.

/home/known/_site/web/wiki/data/pages/control-panels/directadmin/how-to-use-file-manager.txt · Last modified: 2019/07/16 22:23 by Derrick B.