How to Change File Permissions Using DirectAdmin File Manager
File permissions in DirectAdmin control access to files and folders, determining who can read, write, or execute them. Follow the steps below to modify file permissions using DirectAdmin's File Manager:
Steps to Change File or Folder Permissions
-
Access the File Manager
- Log in to DirectAdmin.
- Navigate to the File Manager by clicking its icon on the dashboard.
-
Locate the File/Folder
- Browse to the file or folder you wish to modify.
- The current permission level is displayed under the Perm. column (next to the file or folder name).
-
Select the File/Folder
- Check the box in the last column for the file(s) or folder(s) you want to change permissions for.
-
Modify Permissions
- Enter the desired numeric permission value in the Permissions text box.
-
Save the Changes
- Click the Set Permission button to apply the new permission level.
Common Permission Levels
Here are some commonly used permission levels and their purposes:
For Files:
- 600: File is inaccessible.
- 644: File is readable by everyone (e.g., for HTML documents).
- 666: File can be read and modified (e.g., for HTML files edited by scripts).
- 755: File is readable and executable by everyone (e.g., for scripts).
- 777: File is writable and executable by everyone (not recommended for security reasons).
For Directories:
- 711: Directory contents are hidden, but files can be read.
- 755: Files and directory contents are visible to everyone.
- 777: Directory allows full read/write/delete access (not recommended for security reasons).
Important Notes
- Be cautious when setting permissions: Avoid using
777
unless absolutely necessary, as it can pose a security risk by allowing unrestricted access. - Incorrect permissions can result in website errors, so make sure you use the appropriate levels.
If you need additional help or experience issues, feel free to reach out to our support team!