LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2004, 05:57 AM   #1
coldy
Member
 
Registered: Nov 2002
Distribution: Debian GNU/Linux, Gentoo
Posts: 75

Rep: Reputation: 15
proftpd woun't read second hard drive


Hello there, I have Debian DNU/Linux 3.0 r3 up to date running ProFTPd server. It is working properly, but when I add another hard drive it woun't read it. The way that I am asking you, is that I don't know what exactly to change in the proftpd.conf file.
Is here someone that can give me opinion how to do it? I want the annonymous users to access the new hard disk too.
I've searched in the proftpd official documentation, but still don't know what to do. May be the right way is to use <Directory> ... </Directory> but I've tried to symlink the partition and add it like <Directory> and it still don't work. I can't find any documentation about attaching new hard drive

Can someone give advice or url to read
thanks
 
Old 11-09-2004, 11:00 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Are the permissions on this partition properly set?
 
Old 11-09-2004, 12:26 PM   #3
coldy
Member
 
Registered: Nov 2002
Distribution: Debian GNU/Linux, Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
Hi, here is my fstab
Code:
/dev/hdc        /media          ext3    rw                      0       0
/dev/hdb1       /mnt/hdb1       ext3    rw                      0       0
/dev/hda2       /               ext3    rw                      0       1
/dev/hda1       none            swap    sw                      0       0
proc            /proc           proc    defaults                0       0
/dev/fd0        /floppy         auto    user,noauto             0       0
/dev/cdrom      /cdrom          iso9660 ro,user,noauto          0       0
this is when I list the files and directories

Code:
[root@ftp:~]# ls -l /mnt/hdb1/
total 293712
drwxr-xr-x    4 root     root         4096 Nov  9 19:53 ftp/
I allowed the ShowSymlinks in proftpd.conf file so when I lon on to ftp do this

Code:
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for file list.
drwxr-xr-x  14 1045     ftpusers    24576 Jul 31 06:51 Docs
lrwxrwxrwx   1 0        root           13 Nov  9 17:53 local -> /mnt/hdb1/ftp
226-Transfer complete.
226 Quotas off
ftp> cd local
550 local: No such file or directory
ftp>
Finally I dosn't recieve any errors in /var/log/messages file
 
Old 11-09-2004, 12:48 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I suggest reading this: http://www.castaglia.org/proftpd/doc...TO-Chroot.html
 
Old 11-09-2004, 03:16 PM   #5
coldy
Member
 
Registered: Nov 2002
Distribution: Debian GNU/Linux, Gentoo
Posts: 75

Original Poster
Rep: Reputation: 15
I've readed the doc, but that one don't helped me to solve the exercise, so I've created directory in the chrooted anonymous dir, than mount the new hard drive to this directory and it is working. Simple
Thank ya
 
  


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
read external hard drive mccclxxxv Linux - Hardware 6 06-11-2022 12:58 PM
Can't read external hard drive alrymala Linux - Security 1 10-23-2005 01:42 PM
Read only hard drive causes hang at boot Chrontius Debian 6 08-03-2005 09:38 AM
My hard drive seems to be read-only hominy Linux - General 15 07-01-2005 08:42 AM
EZ-Drive Hard Drive -- Cannot Read Contents redhatman Linux - Newbie 3 09-02-2004 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:07 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