Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Resolved: FTP Issues  (Read 5757 times)

0 Members and 1 Guest are viewing this topic.

Zylstra

    Topic Starter
  • Moderator


  • Hacker

  • The Techinator!
  • Thanked: 45
    • Yes
    • Technology News and Information
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 7
Resolved: FTP Issues
« on: October 18, 2007, 06:34:50 PM »
My server (I went with Ubuntu Linux and Apache2) is having issues with VSFTPD (and FTP server program)

The issue is this:
When I log into my user account (using any FTP client) to access FTP, I am unable to modify/create/delete any files. I have no idea where to start.

I can view files and open them on my locally, thats fine, but I cannot modify them or anything.

I have no idea where to start. I do not have FTP ports forwarded, since I only access them locally (192.168.1.7) either that, or the server itself uses FTP to transfer files for web installers (like SMF Forum Board, which is the reason I need to get FTP working in the first place)

Oh Forum People, what shall thou do?

Thank you very much for your replies
-Zylstra
« Last Edit: October 22, 2007, 07:11:17 PM by Zylstra »

Computer Hope Admin

  • Administrator


  • Prodigy

    Thanked: 248
    • Yes
    • Yes
    • Yes
    • Computer Hope
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 10
Re: FTP Issues
« Reply #1 on: October 18, 2007, 06:38:37 PM »
Unless I'm mistaken FTP is a File transfer protocol it's not meant as a way to edit files or create files. If you're wanting to do that you'll want to Telnet to the box or more preferably SSH to the box.

However, that being said you should be able to delete files within an FTP session and/or create new directories assuming you've got the rights. What happens when you attempt to delete a file?
Everybody is a genius. But, if you judge a fish by its ability to climb a tree, it will spend its whole life believing that it is stupid.
-Albert Einstein

Zylstra

    Topic Starter
  • Moderator


  • Hacker

  • The Techinator!
  • Thanked: 45
    • Yes
    • Technology News and Information
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 7
Re: FTP Issues
« Reply #2 on: October 18, 2007, 06:44:09 PM »
FTP (Depending on your FTP client) can be used to edit files (it just makes a temporary copy, and automatically uploads it when edited) but I cannot upload files anyways
(I do use SSH a lot though)

Figured it out, its a permissions issue.

I dont know how to fix it though...

I can create/modify/delete files in my own directory (using the "server" account, I can edit the folder that belongs to it)
The problem is, I need to be able to change the /home/user/public_html folder (preferably being able to change all files over FTP with the proper information would be nice)
How do I correct this issue?

SilentAssasin64



    Apprentice

    Thanked: 5
    • Yes
    • Yes
  • Computer: Specs
  • Experience: Experienced
  • OS: Linux variant
Re: FTP Issues
« Reply #3 on: October 20, 2007, 10:09:14 PM »
You might be able to change by using the command "chmod  -R a+wrx /home/user/public_html".  Must be done as root. 
Back In The Game

Zylstra

    Topic Starter
  • Moderator


  • Hacker

  • The Techinator!
  • Thanked: 45
    • Yes
    • Technology News and Information
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 7
Re: FTP Issues
« Reply #4 on: October 22, 2007, 07:10:50 PM »
You might be able to change by using the command "chmod  -R a+wrx /home/user/public_html".  Must be done as root. 
That worked! Thanks, SilentAssasin!

Marking my own topic as "Resolved"

Zylstra

    Topic Starter
  • Moderator


  • Hacker

  • The Techinator!
  • Thanked: 45
    • Yes
    • Technology News and Information
  • Certifications: List
  • Computer: Specs
  • Experience: Guru
  • OS: Windows 7
Re: Resolved: FTP Issues
« Reply #5 on: October 22, 2007, 07:13:56 PM »
Maybe not...

When I try to access directories created with this new setting, I get this error:

Forbidden
You don't have permission to access /smf/ on this server.

(where SMF is the directory I made)

EDIT:
It seems that I can manually change the CH-MOD settings in my FTP client, but I'm not sure this is a good permanent solution.