LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   The Dreaded /var/www/ access issue (https://www.linuxquestions.org/questions/linux-server-73/the-dreaded-var-www-access-issue-4175414139/)

Bob Fletcher 06-30-2012 06:20 AM

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...

jsaravana87 06-30-2012 07:24 AM

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.

Bob Fletcher 06-30-2012 07:33 AM

Quote:

Originally Posted by arun5002 (Post 4715678)
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

jsaravana87 06-30-2012 08:05 AM

Hi

#ls -al /var/www/* -check out the permission of file inside /var/www/*

Bob Fletcher 06-30-2012 09:15 AM

Quote:

Originally Posted by arun5002 (Post 4715697)
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...

Bob Fletcher 06-30-2012 10:25 AM

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.


All times are GMT -5. The time now is 03:22 AM.