LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-04-2011, 02:58 AM   #16
kingston
Member
 
Registered: Mar 2008
Location: Bengaluru, India
Distribution: RHEL 5.5, Solaris 5.10
Posts: 215
Blog Entries: 1

Rep: Reputation: 21

@routers: Thanks for the info. I will check soon, right now it is disabled in my linux box
@rewards: What did you do to make it work? In which directory you are trying to write files?
 
Old 01-04-2011, 06:13 AM   #17
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by rewards View Post
Thank you all. I can now download files and folders. But I cannot upload any file or folder yet. Do you know if I need to do something else?
if i not mistake, you mightbe attempting to upload file to the folder which is not own by you
because old default setting vsftpd , once you login its send you to the the main /

so follow this step, open /etc/vsftpd.conf and edit as following

Code:
chroot_local_user=YES
and restart vsftpd

Code:
/sbin/service vsftpd restart
let us know

Last edited by routers; 01-04-2011 at 06:20 AM. Reason: extra
 
Old 01-04-2011, 06:26 AM   #18
ashish_neekhra
Member
 
Registered: Nov 2007
Posts: 67

Rep: Reputation: 4
Quote:
Originally Posted by djtoltz View Post
I don't even see any ftp daemon in that process list. I must be missing something. Is it running under inetd?
VSFTPD is an independent deamon, it does not depend on any other service.

For Uploading, make a any name folder in your ftp folder and give it full permissions, Next restart service vsftpd & check if it is working.
 
Old 01-07-2011, 12:56 AM   #19
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
Hello all,

Do you have any idea why I can download but not upload files using FTP. The chmod numeric for the /var/www/html must be 404 for the code to work correctly. I cannot change this 404 number to like 777. Thank you
 
Old 01-07-2011, 05:03 AM   #20
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
Quote:
Originally Posted by rewards View Post
Hello all,

Do you have any idea why I can download but not upload files using FTP. The chmod numeric for the /var/www/html must be 404 for the code to work correctly. I cannot change this 404 number to like 777. Thank you
did you pay attention with my word "you mightbe attempting to upload file to the folder which is not own by you"
 
Old 01-11-2011, 09:47 PM   #21
rewards
Member
 
Registered: Dec 2010
Posts: 135

Original Poster
Rep: Reputation: 0
The folder permission was set to root rwx r x r x. I changed the owner to adminftp and now I can upload and download files. Thank you guys for all your help.
 
  


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
[SOLVED] FTP Critical file transfer error rewards Linux - Newbie 1 12-28-2010 02:45 AM
GLib-GObject-CRITICAL and Pango-CRITICAL on Debian lenny kaz2100 Debian 0 10-07-2008 04:19 PM
Critical error jabos Mandriva 4 08-14-2007 12:29 AM
critical error in apache 1.3.29 linuxboy_inside Linux - General 2 12-07-2003 08:54 PM
Critical error while upgrading from 8.1>9 PLEASE HELP!!! stelmed Slackware 2 04-07-2003 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 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
Open Source Consulting | Domain Registration