LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2020, 11:18 AM   #1
cearlp
LQ Newbie
 
Registered: Jan 2020
Posts: 2

Rep: Reputation: Disabled
Question Does vsftpd follow symlinks when writing to a file?


I'm trying to ftp web pages to the /var/www/html directory in Ubuntu 18.04 and can't get access to that directory. I setup an ftpuser with a symlink in his home directory to /var/www/html thinking that ftp'ing to that file would actually be writing to the html directory.
If I connect to the vsftp server with ftp and just list the symlink I get the listing of there html file, but can't write to it.
The vsftp.conf is the one listed in installation tutorials.
The following are what I assume are the relevant ones:
local_enable=YES
write_enable=YES
chroot_local_user=Yes
allow_writeable_chroot=YES

Last edited by cearlp; 01-05-2020 at 11:23 AM.
 
Old 01-06-2020, 07:07 AM   #2
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
What path is local_root actually set to?
 
Old 01-06-2020, 10:16 AM   #3
cearlp
LQ Newbie
 
Registered: Jan 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
I don't know about a local_root. I have no root login on the vsftp server. I use only sudo commands with my user login to get root things done.
 
  


Reply



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
Epiphany and zenity don't follow the qt theme; every other gtk app does the dsc Linux - Desktop 4 07-02-2012 03:17 AM
oprofile does not follow mpstat and top utilities elombardo Linux - General 1 01-10-2012 12:21 AM
vsftpd won't follow links for anonymous login sebaldus Linux - Software 7 08-22-2004 02:14 AM
Psi does not follow KDE theme m00nd0g Linux - Software 1 09-21-2003 09:36 AM
symlinks not allowed in RH80 + vsftpd sourian Linux - Networking 1 12-10-2002 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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