Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i had vsftpd working for a while... i think it was working somewhat because the default config seemed to work... i could download certain files but sometimes i'd get 550 error when trying to get larger files... I changed my config to this-
anonymous_enable=NO
local_enable=YES
write_enable=NO
anon_upload_enable=NO
anon_mkdir_write_enable=NO
anon_other_write_enable=NO
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
listen=YES
listen_port=10021
pasv_min_port=30000
pasv_max_port=30999
xferlog_enable=YES
xferlog_file=/home/hda/vsftdp/vsftpd.log
xferlog_std_format=YES
and now i cant even get on... if anyone could help me it would be awesome thanks.
btw i'm running rh9
PS how do i make pop-up messeges when people log on?
OK ... i recently changed my config and i'll post it again at the end.... As the first time, people can connect to me, and can move around and such. However, they can download text files on my server, but not 50 MB zip files. When they try, it says
Error 550: Unable to Open file.
Here is my config right now.. if anyone could help me solve this problem i would be very greatful.
I know nothing of vsftpd (sorry!), but I think I remember that there are 2 modes in ftp: asci and binary-- w/ asci, you can only download text files, in binary mode you can download anything. I'm not sure if this is set only on the client or both in the client and server. I'm I'm totally off here, somebody kick me and tell poor hda not to listen to me!
If things work out for you, let me know-- I'm trying to get proftpd to work myself, and if that doesn't work out, maybe I'll try vsftpd (using your config file, of course, hehe).
Actually, i dont know how to set or even view permissions on any of the files. If you could let me know, thatd be nice, because i think that is prabably the problem.
to view file privileges from the terminal, use the command "ls -all" -- this is the normal list command, but the -all option shows more details about the files you're listing. You'll get something like this:
-rw-r--r-- 1 root root 4 Oct 16 08:13 test.txt
this lists, in order, the permissions, a 1 charater (I don't know what that column is for!), the file's owner (root), the file's group that owns it (root group), the file's size (4 bytes) the date it was created, and finally the file's name.
that 1st bit there is the permissions. the 1st char is pretty much either a dash for a normal file or a d for a directory. After that 1st char, you have 3 sets of chars, these sets correspond to the file's owner, the file's group, and anyone else. You can set permissions for read, write, and execute. So, with our example above, the file is read and write-able for the owner, but not executable, and is readable by the group and other users, but not write-able or executable to them. So one more time, if we break up that permissions char set, we get:
- rw- r-- r--
1st dash means the file is not a directory
1nd set (rw-) is for the file owner (root), this means that the root user can read and write to the file. If the file were executable, the code would be rwx.
2nd set (r--) means that members of the group that owns the file (which is the root group in this example) can read the file, but can't write to it or execute it.
3rd set (r--) means that all other users have the same privileges as members of the group that owns this file -- they can read the file, but can't do anything else to it.
you use the chmod command to change permissions. It's a fairly weird command, so I suggest you read the man pages on it (type in "man chmod" from your terminal) to figure it out and post back here if you get confused.
you use chown to change a file's owner and group. That command is formatted like this:
chown newOwner[:newGroup] fileName
you replace newOwner with the user's name you want to change the file's ownership to. The newGroup section is optional, and only used when you want to change a file's group that owns it. Make sure you put the file name of the file you want to change last in the command.
That should be a good start to get you going. Alternately, if you're using KDE, you can cheat and just right-click on a file, go to the file's properties, and there is a tab in the properties window that you can use to change permissions and ownership using a gui instead of a command prompt. This works pretty well when you're not doing something in batch.
Alot of times I see a 550 error problem on FTP clients when between firewalls. Try setting to passive mode. If you have it turned on try turning passive off.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.