jay964 Posted October 24, 2011 Share Posted October 24, 2011 So I've got my server up and running and everything is good except for the FTP use. Ive googled, searched the forums and I've just about had it. I should note this is my first time using a Linux OS. Anyway, the FTP Server works in the sense that I can connect to it. Thats about it though. Once connected I can see my share (VIDEOS). However, when I go in the folder there is nothing there. There should be a few folders but I dont see anything. Setup: only 1 HD atm (will add several more soon, no parity yet) only 1 share atm (more to come) Can someone please tell me or even write up the code i put into 'go.cfg' write now it reads: sleep 30 mkdir -p /var/ftproot/VIDEOS echo 'anon_umask=0022' >> /etc/vsftpd.conf echo 'local_root=/var/ftproot' >> /etc/vsftpd.conf mount --bind /mnt/root/VIDEOS /var/ftproot/VIDEOS losing my mind over this Quote Link to comment
prostuff1 Posted October 24, 2011 Share Posted October 24, 2011 anyone? what version of unRAID are you running? That will make a difference! But this is probably a permissions issue I would guess as you are probably running on 5.0bX and logging in as root. Root does not have access to files under the new permission in 5.0bX unRAID. You need to configure vsftpd to allow you to log in as a different user more than likely. I rarely use FTP so can't be much help beyond what I just mentioned. Quote Link to comment
jay964 Posted October 24, 2011 Author Share Posted October 24, 2011 Version: 5.0beta12a Quote Link to comment
jay964 Posted October 25, 2011 Author Share Posted October 25, 2011 so i tried what you suggested; created a new user. I'm still having the same problem though. I can see my 'videos' folder but its empty. Any other suggestions from others? Quote Link to comment
dgaschk Posted October 25, 2011 Share Posted October 25, 2011 Can the new user make a file? What is the owner and permissions of the created file? Did you give this user permission to access the share in the WebGUI? Quote Link to comment
jay964 Posted October 25, 2011 Author Share Posted October 25, 2011 Can the new user make a file? What is the owner and permissions of the created file? Did you give this user permission to access the share in the WebGUI? Yes, the new user is able to make files. I can still see the share as Videos but its empty. I gave it all permissions as well. I am about to give up and just cut my losses. Quote Link to comment
dgaschk Posted October 26, 2011 Share Posted October 26, 2011 This will let ftp read files: chmod -R o+rx /mnt/user/shareName To make things writable change rx to rwx. THIS MAY BE INSECURE. It lets all users have this access. Set up a dropbox if needed. Once you find it works, add the lines to you go file so they will survive a reboot. In order for ftp written files to be included in the version 5 file and security model they must be set as root owner and group and permissions set to rwxrwx. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.