Hallo.
Ich habe folgende "Konstruktion" auf meinem Home-Server, um Videos einer Kamera im Garten zu speichern. Die Kamera kann leider nur FTP. In Proxmox habe ich eine Festplatte unter /media/Video gemountet. Sie wird an einen FTP-Server(LXC) und an einen Media-Server (Jellyfin-LXC auUbuntu 24.04) durchgereicht.
Ein FTP-Server(Alpine-Linux) greift darauf zu und speichert die Daten unter /media/Video/Garten Allerdings kann nur der FTP-Server die Daten sehen, weil die Kamera mit dem Benutzer "ftpuser" darauf zugreift. Somit gehören alle Daten in /media/Video/Garten dem Benutzer ftpuser.
Ich möchte gerne mit einem Jellyfin-Server die Videos sichtbar machen und habe dazu die Festplatte wiederum unter /media/Video eingehängt. Jellyfin (Ubuntu 24.04) sieht die Videos leider nicht. Der Proxmox-Host auch nicht Meine vsftpd.conf schaut so aus:
# Example config file /etc/vsftpd.conf # # listen=YES seccomp_sandbox=NO # # # Allow anonymous FTP? (Disabled by default). anonymous_enable=NO # # Uncomment this to allow local users to log in. local_enable=YES # # Uncomment this to enable any form of FTP write command. write_enable=YES # # dirmessage_enable=YES # use_localtime=YES # # Activate logging of uploads/downloads. xferlog_enable=YES # # Make sure PORT transfer connections originate from port 20 (ftp-data). connect_from_port_20=YES # # #chown_uploads=YES #chown_username=whoever # # You may override where the log file goes if you like. The default is shown # below. #xferlog_file=/var/log/vsftpd.log # # #xferlog_std_format=YES # # # You may change the default value for timing out a data connection. #data_connection_timeout=120 # # #nopriv_user=ftpsecure # # #async_abor_enable=YES # # # ASCII mangling is a horrible feature of the protocol. #ascii_upload_enable=YES #ascii_download_enable=YES # # You may fully customise the login banner string: #ftpd_banner=Welcome to blah FTP service. # # # (default follows) #banned_email_file=/etc/vsftpd.banned_emails # # # # #chroot_local_user=YES #chroot_list_enable=YES # (default follows) #chroot_list_file=/etc/vsftpd.chroot_list # # Y #ls_recurse_enable=YES # # Customization # # Some of vsftpd's settings don't fit the filesystem layout by # default. # # #secure_chroot_dir=/var/run/vsftpd/empty # # This string is the name of the PAM service vsftpd will use. pam_service_name=vsftpd # # This option specifies the location of the RSA certificate to use for SSL # encrypted connections. rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO # # Uncomment this to indicate that vsftpd use a utf8 filesystem. #utf8_filesystem=YES local_root=/media/Video/Garten
Mit
chmod -R 666 /media/Video/Garten
habe ich das Verzeichnis auf dem FTP-Server freigegeben. Aber das reicht scheinbar nicht. Was kann ich noch tun, damit das Verzeichnis für andere sichtbar wird?