Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-12-2008, 05:33 AM   #1
Registered: Feb 2007
Location: New Delhi,India
Distribution: RHEL,Cento,Ubuntu,Kali Linux
Posts: 30

Rep: Reputation: 15
Question own directory share in ftp server.

Hi ! Everyone ,
Can anybody tell me how can I share my own directory by ftp server ? I am using RHEL 5 & Fedora Core 8.Support I create a dir /rahul.I want to share it by ftp server.Tell me entrie process.
Rahul Kumar
Old 10-12-2008, 08:30 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
Your distro may have a wizard for adding shares. If not, look at the manpages for nfs, exports and mount.nfs. You configure the nfs server with the /etc/exports file. The nfs manpage will describe the /etc/fstab entry format for the clients.
Here is an example from my desktop:
Here are corresponding entries for mounting a share on my laptop:
hpmedia.jesnet:/home/jschiwal/podcasts  /mnt/hpmedia/podcasts   nfs     defaults,user,_netdev 0 0
hpmedia.jesnet:/home/jschiwal/music     /mnt/hpmedia/music      nfs     defaults,user,_netdev 0 0
Old 10-14-2008, 01:48 AM   #3
Registered: Feb 2007
Location: New Delhi,India
Distribution: RHEL,Cento,Ubuntu,Kali Linux
Posts: 30

Original Poster
Rep: Reputation: 15
Dear ! Jschiwal,
Plz read first the question carefully.I want to ask how can i share /rahul dir. by ftp server.u are telling me how to share dir by NFS server ?
Rahul Kumar
Old 10-14-2008, 02:54 AM   #4
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 741

Rep: Reputation: 73
Anonymous FTP?! Try to set that up and the anonymous ftp dir, the dir u wanna share, otherwise ftp sharing dont really think is possible.
Old 10-14-2008, 03:09 AM   #5
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 61
rahuldevalone - I'm sure Jschiwal read your question carefully. The problem is that you ask for two different things, so to answer, one must be ignored. FTP != Sharing.

Last edited by Mr. C.; 10-14-2008 at 10:13 AM.
Old 10-14-2008, 04:49 AM   #6
Registered: May 2008
Posts: 42

Rep: Reputation: 15
open the file /etc/passwd with your favorate editor and change the path of directory of ftp user. Actually ftp user default path is /var/ftp. Remove this path and replace your own path.


date, how, install, rhel, system, time

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
In NFS server. I want to share directory but i dont want to share subdirectories. aashishdhabarde Linux - Server 1 01-16-2008 03:48 AM
all users can see the all directory in my ftp server padideh Linux - Server 3 03-24-2007 05:01 AM
Active Directory Authentication for FTP server element247 Linux - Server 3 03-23-2007 01:34 PM
is there the x directory in an ftp server? kpachopoulos Programming 1 07-24-2005 03:44 PM
setting directory quotas and FTP server help kabir Linux - General 1 12-01-2003 07:17 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:11 PM.

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