LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-13-2007, 02:51 PM   #1
MrDooDooHead
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Rep: Reputation: 0
Post Can read but not write to FTP folder


I have installed vsftd on my centos box. I then created a group called ftp-user and assigned appropriate permissions. I can browse the ftp folder from windows ftp client, but when I try to write to PUT I get "error 500 folder can not be created. try using pasv."
Trying locally I can again browse the DIR, but when I PUT I get "entering passive mode...file cannot be created".
any ideas??????

The DDH thanks you.
 
Old 02-13-2007, 03:45 PM   #2
MrDooDooHead
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Original Poster
Rep: Reputation: 0
ok fixed it

I was using chmod 750 to set permissions...according to my tutorial...using 770 instead solved the problem...does anyone know if that increases security risk...apologies for my ignorance.
Thanks
 
Old 02-13-2007, 05:06 PM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 61
Quote:
does anyone know if that increases security risk
It certainly does if you're allowing ftp access from the internet. Under any circumstances, I think it's better to avoid write access via ftp if possible.

I use ftp to move stuff around within my network all the time, but my router is blocking access from the net. When I want to move files, I go to the computer that has the files, as root ... move them to /home/ftp/pub (owner=root, mode=755), and kick off vsftpd. Then I go to the PC I want them on, start an ftp client and put them in whatever directory I want. Final step: Shut down both client and server.

Last edited by rickh; 02-13-2007 at 05:42 PM.
 
Old 02-13-2007, 08:42 PM   #4
Buto
Member
 
Registered: Sep 2004
Location: So Cal
Distribution: Slackware 12
Posts: 60

Rep: Reputation: 16
If it's within your own network, Samba might be something to take a look at.
 
  


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
how to share folder (read, write and execute) into the network redline1022 Linux - Networking 3 11-15-2006 02:13 AM
where a service should place a folder so every user can have read/write access. shahidawan Linux - Security 3 05-07-2005 02:25 PM
For Squid (proxy server) gurus: FTP from browser with read-write-modify permission Zingaro2002 Linux - Software 5 11-24-2003 05:56 AM
Can I make a Cron job to synch/transfer a file from a folder to another FTP?... read efishta Linux - General 6 07-19-2003 11:03 PM
Open office read only, K-write read/write mode lwtvh Linux - Newbie 1 07-19-2003 12:33 PM


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