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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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-
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).
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.