FTP deleting files


#1

i keep getting “permission denied”…how do i change the folder or files so that the chmod value is set so i’m able to delete since i’m logged in as the admin! this tends to happen alot…thanks!


#2

In order to delete a file or directory, the parent directory must have both read and write permissions enabled.

If the parent directory is created by a script or program, the script or program is probably not enabling both the read and write permissions, and you may need to hack the source if there is no configuration option for the script or program.

Also keep in mind that only owner of the file or directory can change the permissions. If the files or directories are being created by a CGI script, and Apache is not executing the script as the same user you use for FTP, you won’t be able to modify the permissions using FTP. In the Web Admin Panel, you can check to see which user is executing the CGI scripts by selecting the “Domains” and then “Web” in the menu. Click on “Edit” next to the domain and set the option “Enable CGI and run as user:” to the same user you use for FTP.


#3

ugh, i tried that…dont know. thanks for the help, i’ll just write dreamhost’s support and get them to delete it.