LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-30-2012, 06:20 AM   #1
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Rep: Reputation: 1
The Dreaded /var/www/ access issue


At the moment I am very frustrated opening about 14 hours all over the Internet on this problem. Answers either are confusing, not relevant or linked to equally confusing thread.

Simply put I want my Filezilla on one machine to be able upload to /var/www/ on another machine.

Can someone please tell me in simple steps what I have to do to achieve this?

Thanks

Robert...
 
Old 06-30-2012, 07:24 AM   #2
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Hi

Can i know what issue ur facing out while transfering the file /var/www/* to destination folder through filezilla.whether you have problem in uploading the content to destination means paste out the error you getting out during uploading through filezilla.
Are else u required the method of connecting filezilla.
 
Old 06-30-2012, 07:33 AM   #3
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by arun5002 View Post
Hi

Can i know what issue ur facing out while transfering the file /var/www/* to destination folder through filezilla.whether you have problem in uploading the content to destination means paste out the error you getting out during uploading through filezilla.
Are else u required the method of connecting filezilla.
Command: STOR DSCF0925.jpg
Response: 550 Permission denied.
Error: Critical file transfer error
Status: Disconnected from server

This is the relevant message from the log
 
Old 06-30-2012, 08:05 AM   #4
jsaravana87
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
Hi

#ls -al /var/www/* -check out the permission of file inside /var/www/*
 
Old 06-30-2012, 09:15 AM   #5
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by arun5002 View Post
Hi

#ls -al /var/www/* -check out the permission of file inside /var/www/*
To be one the safe side I have set the default directory to me home /home/robert/public_html/ permissions 777

still will not accept an upload. I am wondering if the group need to be changed or added to for FTP can upload.

I am really surprised I cannot find any answers anywhere but someone must have worked it out.

Robert...
 
Old 06-30-2012, 10:25 AM   #6
Bob Fletcher
Member
 
Registered: Nov 2008
Location: Hinckley UK
Distribution: Manjaro Cinnamon
Posts: 140

Original Poster
Rep: Reputation: 1
After about 18 hours I fixed it. The problem was in the vsftp.conf this line was commented out by default.
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#

Of all the reading I have done all over the internet nothing pointed to this. The instructions were simple anonymous or authenticated and that is set up during installation.

Thanks
Everyone.
 
  


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
Forbidden (/var/www/directory access error) amritpalpathak Linux - Software 15 08-02-2011 02:43 AM
Allow apache to access user_home_t only inside /var/www/ dhelyar Linux - Security 1 12-02-2010 10:35 AM
ftp access to /var/www/html bmccarty12 Linux - General 2 10-16-2009 12:21 PM
FTP access to /var/www/html/web_folder jonaskellens Linux - Server 2 07-11-2009 08:23 AM
proftp access to /var/www/htdocs with rw datadriven Slackware 0 06-27-2003 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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