LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-13-2009, 02:02 AM   #1
plaguekriz
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Rep: Reputation: 0
VSFTPD mounted directories problem


Hello! I try to create virtual directories on CentOS/vsFTPd FTP server, using command

mount --bind /mnt/hdb1/upload_4 /var/ftp/pub/upload_4

where /var/ftp/pub/ is ftp server root directory. Directory mounted and all looks cute from console. But when I try to go to this directory via ftp I have error "550 Failed to change directory." CHMOD is 777 and ftp:ftp is owner of this directory. Please help me to fix that problem.
 
Old 08-13-2009, 04:58 AM   #2
jeromeNP7
Member
 
Registered: Jun 2009
Posts: 101

Rep: Reputation: 19
When using an FTP login the current login user will be the user, and not ftp. So setting ownership to ftp:ftp will only work from a remote access when really logging in as user 'ftp'. Assuming that you want the data to become public, you will have to set ownership to the user/group name used for anonymous access.

Linux

Last edited by jeromeNP7; 09-04-2009 at 09:26 PM.
 
Old 08-14-2009, 12:48 AM   #3
plaguekriz
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jeromeNP7 View Post
Assuming that you want the data to become public, you will have to set ownership to the user/group name used for anonymous access.
Where can I find out which user:group used for anonymous access? And one more question: target folder is situated on hdd with ext3 file system, does it matter?
 
Old 08-17-2009, 03:08 AM   #4
plaguekriz
LQ Newbie
 
Registered: Aug 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Problem solved by updating vsFTPd to version 2.2.0 from sources. I've used this article http://blog.chinaunix.net/u1/43047/showart_677835.html
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
FC6 broken with NFS-mounted /home directories? skellert Fedora 2 11-02-2006 10:37 PM
VSFTPD Custom Directories Slacktastic Linux - Software 2 03-19-2006 02:36 AM
VSFTPD Can't See Filesystems Mounted in a chroot khopsicker Linux - Software 5 12-22-2005 12:12 PM
FC3 : how to change permission of directories where filesystems are mounted ? minnie Fedora 1 07-08-2005 11:23 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration