my dir is "/mnt/temp_dir/photos/stories"
but when do that a 500 oops error appears:
Code:
ls -ldrwxrwxrwx+ 21 nobody nogroup 73728 Mar 12 15:22 stories
Code:
cat /etc/vsftpd.conf listen=NOlisten_ipv6=YESanonymous_enable=NOlocal_enable=YESwrite_enable=YESlocal_umask=022dirmessage_enable=YESuse_localtime=YESxferlog_enable=YESconnect_from_port_20=YESchroot_local_user=YESsecure_chroot_dir=/var/run/vsftpd/emptypam_service_name=vsftpdrsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pemrsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.keyssl_enable=NOpasv_enable=Yespasv_min_port=10000pasv_max_port=10100allow_writeable_chroot=YESuser_sub_token=$USER# user_config_dir=/mnt/temp_dir/photos/storieslocal_root=/mnt/temp_dir/photos/stories/$USER #Not ftpuser exists under #user_config_dir=/etc/vsftpd.conf userlist_file=/etc/vsftpd.userlistvsftpd_log_file=/var/log/vsftpd.log
Code:
cat /etc/vsftpd.userlist ftpuser
but when do that a 500 oops error appears:
Code:
ftp 127.0.0.1Connected to 127.0.0.1.220 (vsFTPd 3.0.3)Name (127.0.0.1:eros): ftpuser331 Please specify the password.Password: 500 OOPS: cannot change directory:/mnt/temp_dir/photos/storiesftp: Login failedftp>
Code:
I have disabled SELinux
Code:
groups ftpuserftpuser : ftpuser sudo users
Code:
getent group|grep -w ftpusersudo:x:27:eros,ftpuserusers:x:100:eros,ftpuserftpuser:x:1001:
Code:
ftp:x:117:134:ftp daemon,,,:/srv/ftp:/usr/sbin/nologinftpuser:x:1001:1001:,,,:/mnt/temp_dir/photos/stories:/bin/bash
Statistics: Posted by estatistics — 2024-03-12 20:40 — Replies 3 — Views 65