LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2003, 06:38 AM   #1
Sammy2ooo
Member
 
Registered: Jan 2003
Location: nearby switzerland
Distribution: Suse 8.0 / Suse 9.0 / Slackware 9.1 / Debian Sarge testing / Gentoo 1.4.10
Posts: 165

Rep: Reputation: 30
Question :Pengy: vsFTPd and sym links in a chroot env??? :Pengy:


Hi everybody,

I trying to set up vsftpd, which seems to be really cute, but i got
one probleme regarding links...
Maybee, someone can tell me why users can't follow symlinks??
This is the symlink i've created:

lrwxrwxrwx 1 root root 22 Jan 21 12:58 ALBUMz -> /home/ftp-docs/ALBUMz//

"chmod user1 ALBUMz" or/and "chgrp ftpuser ALBUMz"

doesnt work either....
This is my vsftpd.conf
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
saturn:/# cat /etc/vsftpd.conf | grep -v '#'
anonymous_enable=YES
local_enable=YES
chroot_local_user=YES
write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
idle_session_timeout=200
data_connection_timeout=120
banner_file=/etc/vsftpd_banner
saturn:/ #
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

I think the problem is the chroot_local_user option, but i don't know how to solve this...

Any help or hint is appreciated

Greets Sam
 
Old 01-21-2003, 07:30 AM   #2
Sammy2ooo
Member
 
Registered: Jan 2003
Location: nearby switzerland
Distribution: Suse 8.0 / Suse 9.0 / Slackware 9.1 / Debian Sarge testing / Gentoo 1.4.10
Posts: 165

Original Poster
Rep: Reputation: 30
::: vsFTPd SYM LINKS :::

Hi,

This is the way i solved the problem, (workaround )
First i tried to Hardlink the files, which didn't work...
The solution is to mount the directory into the home directory of the user.

mount --bind /sourcedir /destinationdir

See also mount --help, man mount


Cheers

Sam
 
  


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
Hi people! (and other) from a :Pengy: friend acker LinuxQuestions.org Member Intro 1 04-08-2004 07:33 PM
:Pengy:SETUP???:Pengy: gnaremoob Linux - Software 4 09-30-2003 08:35 AM
WinXP to :Pengy:Mandrake 9.1 Da_Quest Linux - Networking 2 06-14-2003 04:04 PM
Sym Links and vsFTPd Datacraft Linux - Software 1 05-24-2003 05:20 PM
:Pengy: Newbie At linux :Pengy: cjs153 Linux - Newbie 2 01-31-2003 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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