My first post!
I'm writing an FTP type program to allow me to upload, download, delete and rename files on my webspace through HTTP. The reason I'm working on this is the proxy at works prevents FTP access.
So far so good but I've hit my first snag. When I try to delete any file I get "Unlink failed(Permission denied)". I understand that this is to do with my chmod settings and if I set them to 777 I should be okay.
However I am reluctant to set the chmod of ALL my files and folders to 777 (is there a security issue in this?).
Is there any way I can log on as owner within the script to give me full access?
Hopefully I've explained myself okay, any help will be appreciated.