LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2004, 11:05 AM   #1
Timme
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Rep: Reputation: 0
Odd FTP setup?


First off, this could well be in the wrong section, sorry about that..

Anyway,
I've set up an FTP server using wu-ftpd on debian (Sarge), I have stopped anonymous log-ins, so only users can log in and up/download files. Currently this works perfectly, with the exception that user "a" can only browse user a's uploaded files, user "b" user b's files and so forth (when you log in you are taken directly to your own home directory).

However, I'd like to have a single folder so that all files are stored in the same place - thus user b can download user a's files, user a can download user b's files and so on.
Here's the question then; - how do I go about setting this up?

Also, at the moment I can access directorys above me (IE I can go into the / directory and any directory below it) - how can I restrict access so that the only directory users can see is the one they arrive at when logged in (that and sub-directorys)?

Last but not least, I'd like the above folder (I'll call it the communal folder for lack of a better word) to be on a different physical drive from the rest of the OS)

I hope I've explained this clearly, and that someone can help..!

Thanks,
Tim
 
Old 12-13-2004, 01:21 PM   #2
visaris
Member
 
Registered: Dec 2004
Distribution: gentoo
Posts: 190

Rep: Reputation: 30
Quote:
Also, at the moment I can access directorys above me (IE I can go into the / directory and any directory below it) - how can I restrict access so that the only directory users can see is the one they arrive at when logged in (that and sub-directorys)?
I'm not sure exactly how to do this, but I think what you are referring to is running the FTP server in a chroot(ed) environment. Maybe you can drop that (chroot wu-ftpd) in google, or look for it in the manual.
 
Old 12-13-2004, 02:13 PM   #3
Timme
LQ Newbie
 
Registered: Sep 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Looked it up and found the following from (http://www.wu-ftpd.org/HOWTO/guest.HOWTO)

"Guest FTP is a form of real FTP; one logs in with a real user name and
password, but the user is chroot'ed to his home directory and cannot
escape from it. This is much safer, and it is a useful way for remote
clients to maintain their Web accounts."

Which is almost exactly what I want.. Just need to find a copy of the howto written in English now

What about having all users log into the same folder though, any ideas on how to acheive that?

Thanks,

Tim
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Odd FTP problem DrakIE Linux - Networking 2 11-10-2005 05:00 PM
Odd Network Setup problem Rekna Linux - Networking 2 03-30-2004 12:16 AM
Odd FTP problem Khyron Linux - Networking 2 03-05-2004 03:09 PM
An odd case of FTP file permissions paradoxlight Linux - Security 6 04-20-2003 10:40 PM
Adding Linux to XP boot menu with an odd setup? superdigg Linux - General 1 10-11-2002 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration