LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-02-2005, 04:07 PM   #1
wolfnine
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Rep: Reputation: 0
public_ftp


Hi, I'm trying to allow access to user's public_ftp folders under their homedirs via ftp. I've got vsftp setup and it allows anonymouse only logins (which I want). Under /var/ftp I have a users directory and what I want is when someone goes to ftp.example.com/users/joe they are dispalyed joe's files under his public_ftp folder. User homedirs are mounted from another server. But be unable to ls the users directory for every user on the system. The problem I currently get is when trying to cd to joe I get
550 Failed to change directory

I had thought I found somewhere that I need to mount users public_ftp to /var/ftp/users, but could be wrong. So I have in auto.master
Code:
/var/ftp/users /etc/auto.ftp
and in auto.ftp
Code:
*        -intr,soft,nosuid     mountsrvr:/home/&/public_ftp
I'm not sure what details you'd need to help me troubleshoot this problem, but here is some of my vsftpd.conf file

anonymous_enable=YES
local_enable=NO
write_enable=NO
local_umask=022
pam_service_name=vsftpd
userlist_enable=YES
#enable for standalone mode
listen=YES
tcp_wrappers=YES


Much thanks to anyone who can help!
 
Old 12-03-2005, 01:29 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
I'm not sure if using the automounter is this best way to do it (although it would probably work if set up correctly). Do you get any automount errors in your system logs?

If it were me, I'd probably jusr symlink ~username/ftp_public to /home/ftp/users/username (assuming /home/ftp is the root directory anonymous users get when they log in via FTP).
 
Old 12-05-2005, 12:21 PM   #3
wolfnine
LQ Newbie
 
Registered: Dec 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the response. I do get automount errors, a .htaccess file is trying to be mounted to /home but from all that I can tell no user has a .htaccess in their root home dir, and none at the mount repository /home

I'll try the symlink, but does that error above ring any bells for you?


Thanks again.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
public_ftp vsftpd wolfnine Linux - Software 0 12-02-2005 04:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:10 AM.

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