1.

Solve : Resolved: FTP Issues?

Answer»

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
-ZylstraUnless 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?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? You might be able to change by using the command "chmod -R a+wrx /home/user/public_html". Must be done as root. Quote from: SilentAssasin64 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.
That worked! Thanks, SilentAssasin!

Marking my own topic as "Resolved" 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.


Discussion

No Comment Found