LinuxQuestions.org
Review your favorite Linux distribution.
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, 03: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, 07:13 AM   #17
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
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 07:20 AM. Reason: extra
 
Old 01-04-2011, 07: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, 01: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, 06:03 AM   #20
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 780
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, 10: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


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

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

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