LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-06-2008, 05:47 AM   #1
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Rep: Reputation: 0
Folder linking in proftpd?


Is it possible to link to a folder using proftpd?

Example:
user1's home dir is /home/user1
So user1 is basically locked in /home/user1 and can access all the sub dirs in /home/user1
I want that user to beable to access another location on the drive, ie: /ftp/download

Anyone know how I would go about doing this without having to make another user account/home dir?

Thanks in advance.
 
Old 05-06-2008, 06:13 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,522

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
proftpd follows symlinks by default, so you can create a symlink in the user's home directory pointing to the dir you want:
Code:
ln -s /ftp/download /home/user1
Regards
 
Old 05-07-2008, 04:10 PM   #3
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I see a link, but when I try to open that folder I get this:
ERROR:> Requested action not taken (e.g., file or directory not found, no access).

Last edited by Moriya; 05-07-2008 at 04:16 PM. Reason: Spelling.
 
Old 05-07-2008, 08:03 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Are you using Gnome? There is Gproftpd to make that kind of thing a bit more transparent.
 
Old 05-08-2008, 12:21 AM   #5
Moriya
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Original Poster
Rep: Reputation: 0
I do use gnome, but I don't like the gproftpd.

It wasn't configuring my users and permissions correctly.
 
  


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
Proftpd wont shared folder sfspartan Linux - Server 4 04-16-2008 08:43 PM
Proftpd+SSL/TLS no folder listing g0ug0u Linux - Software 3 11-30-2007 12:30 PM
Problem in using both load time linking and runtime linking durgaprasad_j Linux - General 0 08-01-2006 04:49 AM
Accessing Web folder using proftpd Unicron Linux - Networking 1 05-30-2006 02:05 AM
proftpd allow user to specific folder GUIPenguin Linux - General 4 05-18-2006 07:41 PM


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