LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-13-2014, 09:25 PM   #1
caffewmilk
LQ Newbie
 
Registered: Apr 2014
Location: Californ-i-a
Distribution: *ubuntu
Posts: 21
Blog Entries: 1

Rep: Reputation: Disabled
How do I ftp to /var/www on local area network only?


Hi,

I want to ftp to /var/www/ so I can upload my web development files to it.

I have already allowed http and ftp through the firewall using firewall-cmd. Also, ftpusers, user_list and vsftpd.conf are configured.

However, when I ftp from another computer box into the web server, I can't create or upload files. I've used my regular username and root.

I'm not concerned about security because all ftp uploads will be done from inside my network. No outside world access to ftp will be allowed. Only http for viewing my web pages when away from home.

Please help. I'm so close to accomplishing this that I can taste it.

Thanks.
 
Old 04-13-2014, 09:59 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@caffewmilk

What error message do you get when you try to upload / create files?
Which flavor of Linux you are using?
You said that you have already got files and firewall configured, what about selinux?
 
Old 04-14-2014, 10:41 AM   #3
caffewmilk
LQ Newbie
 
Registered: Apr 2014
Location: Californ-i-a
Distribution: *ubuntu
Posts: 21

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
What error message do you get when you try to upload / create files?

ftp'ed in as root: cannot create file

Which flavor of Linux you are using?

Fedora 20 Heisenbug

You said that you have already got files and firewall configured, what about selinux?

Installed vsftpd and configured it, then looked up how to open the firewall for http and ftp, which allowed me to browse to the default httpd page and ftp in. I didn't look into SELinux since I was able to already browse the default page and also connect via ftp.

I'm giving up on vsftpd. Going to remove it and work with samba. It'll be much better for the purpose of uploading files only while at home.

Thanks anyway, though.
 
  


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
Access /var/www folder via FTP dimaomni Linux - Server 2 03-12-2013 08:26 AM
FTP'ing to /var/www: what is the trick caffemisto Linux - Server 3 10-29-2010 08:59 PM
ftp access to /var/www/html bmccarty12 Linux - General 2 10-16-2009 12:21 PM
FTP user writing to /var/www animelook Linux - General 1 08-04-2006 07:38 PM
write to var/www isn't possible, i want to write that area AKAKAK Ubuntu 2 01-14-2006 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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