File Management10 min read
Edit Files & Permissions
Modify file content directly in the browser and manage permissions (chmod/chown) for files and directories.
1.Edit File Content In-Browser
Modify text files directly in the browser without downloading.
- Navigate to the file in File Manager
- Click the file name to open preview modal
- Click Edit button (pencil icon)
- Content loads in editable textarea with syntax highlighting
- Make your changes
- Click Save — changes written to server instantly
- Binary files show download prompt instead of editor
2.Change File Permissions (chmod)
Modify file and directory permissions using octal notation.
- Click Permissions button (lock icon) on any file/folder
- Modal shows current mode (e.g., 644)
- Enter new octal mode (e.g., 755, 600, 775)
- Optionally enable Apply recursively for directories
- Click Apply — permissions updated on server
# Common permission modes:
# 644 — owner read/write, group/others read (files)
# 755 — owner read/write/execute, group/others read/execute (dirs/scripts)
# 600 — owner read/write only (private keys, configs)
# 775 — owner/group read/write/execute, others read/execute (shared dirs)
# 700 — owner only (private directories)3.Change Ownership (chown)
Change file owner and group (requires root/sudo on server).
- Open Permissions modal
- Enter new owner username in Owner field
- Enter new group name in Group field
- Optionally enable Apply recursively
- Click Apply — ownership updated (requires sudo on server)
4.Apply Permissions Recursively
Apply permission changes to all files within a directory tree.
- Enable Apply recursively checkbox in permissions modal
- Confirmation shows number of affected items
- Recursive chmod applies same mode to all files and subdirectories
- Use with caution — affects all nested files
- For granular control, apply to individual files instead