README und Helper-Script aktualisieren: Logging, aktiver Modus, Bind-Mounts
- vsftpd-Logging in README dokumentiert (/var/log/vsftpd.log) - Passiv-Modus durch aktiven Modus mit Port 20 ersetzt - Helper-Script: Symlinks durch Bind-Mounts ersetzt (vsftpd chroot-kompatibel) - sudoers-Anleitung für passwortlose Bind-Mounts hinzugefügt - Symlinks-Referenz in README auf Bind-Mounts korrigiert Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
a5a9d86205
commit
456d0873d3
20
README.md
20
README.md
|
|
@ -39,11 +39,27 @@ anon_root=/home/DEIN_USER/.local/share/dolphin-ftp-root
|
|||
local_root=/home/DEIN_USER/.local/share/dolphin-ftp-root
|
||||
chroot_local_user=YES
|
||||
allow_writeable_chroot=YES
|
||||
pasv_enable=YES
|
||||
pasv_enable=NO
|
||||
connect_from_port_20=YES
|
||||
|
||||
# Logging
|
||||
xferlog_enable=YES
|
||||
xferlog_std_format=NO
|
||||
log_ftp_protocol=YES
|
||||
vsftpd_log_file=/var/log/vsftpd.log
|
||||
```
|
||||
|
||||
Danach: `sudo systemctl restart vsftpd`
|
||||
|
||||
### Logdatei
|
||||
|
||||
vsftpd schreibt alle FTP-Aktivitäten (Logins, Uploads, Downloads, Fehler) in `/var/log/vsftpd.log`.
|
||||
|
||||
```bash
|
||||
# Logs live verfolgen:
|
||||
sudo tail -f /var/log/vsftpd.log
|
||||
```
|
||||
|
||||
### Helper-Script installieren
|
||||
|
||||
```bash
|
||||
|
|
@ -185,7 +201,7 @@ Das Plugin nutzt das Helper-Script `dolphin-ftp-share`:
|
|||
- `dolphin-ftp-share delete <name>` — Freigabe löschen
|
||||
- `dolphin-ftp-share info` — bestehende Freigaben auflisten
|
||||
|
||||
Das Script speichert Freigabe-Konfigurationen in `~/.local/share/dolphin-ftp-shares/` und erstellt Symlinks in `~/.local/share/dolphin-ftp-root/`. Der FTP-Server (z.B. vsftpd) dient dieses Root-Verzeichnis aus.
|
||||
Das Script speichert Freigabe-Konfigurationen in `~/.local/share/dolphin-ftp-shares/` und erstellt Bind-Mounts in `~/.local/share/dolphin-ftp-root/`. Der FTP-Server (z.B. vsftpd) dient dieses Root-Verzeichnis aus.
|
||||
|
||||
### Konfigurationsformat
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue