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
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 Admin and user levels: the screenshot covers it from the user view.
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. You can click on it to enter into that directory. Once inside, you'll see a layout of all the files within this directory.
If you want to delete a folder, 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' option to remove the file. 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' option to adjust permissions.
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)
Example:
| 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.
If you encounter any problems in applying the above instructions please contact us. HostX offers the fastest KVM VPS servers and can offer you specialized assistance in DirectAdmin administration.
