To Change File or Folder Permissions in DirectAdmin Panel follow these steps:
Step 1: Log in to your DirectAdmin account.
Step 2: Go to System Info & Files File Manager.
Step 3: Navigate to your domain folder: domains yourdomain.com public_html.
Step 4: Locate the file or folder you want to modify.
Step 5: Right-click on it or click the (options) icon choose Change Permissions.
You ll see checkboxes for:
Owner
Group
Others
Step 6: Enable or disable Read (r), Write (w), and Execute (x) as needed.
Step 7: Alternatively, you can enter a numeric value such as 755 or 644.
.htaccess permissions should be 444
Folder permissions should be 755
File permissions should be 644
File Example: 6 4 4 Owner: Read+Write, Group: Read, Public: Read
Folder Example: 7 5 5 Owner: Read+Write+Execute, Group: Read+Execute, Public: Read+Execute
Note: Never set 777 (full access for everyone) it s a major security risk.
Step 8: Click Save to apply the changes.