LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-12-2008, 06:33 AM   #1
rahuldevalone
LQ Newbie
 
Registered: Feb 2007
Posts: 29

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.
Regards,
Rahul Kumar
 
Old 10-12-2008, 09:30 AM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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:
Code:
/home/jschiwal/podcasts 192.168.1.0/255.255.255.0(fsid=0,rw,root_squash,sync,no_subtree_check)
/home/jschiwal/music    192.168.1.0/255.255.255.0(rw,root_squash,sync,no_subtree_check)
Here are corresponding entries for mounting a share on my laptop:
Code:
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, 02:48 AM   #3
rahuldevalone
LQ Newbie
 
Registered: Feb 2007
Posts: 29

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 ?
Regards,
Rahul Kumar
 
Old 10-14-2008, 03:54 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 587

Rep: Reputation: 58
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, 04:09 AM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
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 11:13 AM.
 
Old 10-14-2008, 05:49 AM   #6
ram_rajavarapu
Member
 
Registered: May 2008
Posts: 41

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.
 
  


Reply

Tags
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 04:48 AM
all users can see the all directory in my ftp server padideh Linux - Server 3 03-24-2007 06:01 AM
Active Directory Authentication for FTP server element247 Linux - Server 3 03-23-2007 02:34 PM
is there the x directory in an ftp server? kpachopoulos Programming 1 07-24-2005 04:44 PM
setting directory quotas and FTP server help kabir Linux - General 1 12-01-2003 08:17 AM


All times are GMT -5. The time now is 10:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration