cannot chmod file via ftp or php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webhead
    New Member
    • Mar 2006
    • 56

    #1

    cannot chmod file via ftp or php

    I have a web where users can upload photos, but they want to also be able to delete them. The directory can have chmod changes but it won't let me chmod the files and unlink them. I'm assuming it really is a chmod problem even though the error message is "no such file or directory", as I'm sure the name and path are right. Even my ftp program won't let me chmod the files, is this a safemode problem?
  • webhead
    New Member
    • Mar 2006
    • 56

    #2
    Noticed also that even if I go into my hosting account web shell, I still can't change the chmod of a file, only of directories. Help please?

    Comment

    • webhead
      New Member
      • Mar 2006
      • 56

      #3
      Any ideas?

      Comment

      • webhead
        New Member
        • Mar 2006
        • 56

        #4
        Stumbled upon solution, all by myself. Hmph.

        It seems the path "http:/www.mysite.com/images/myimage.jpg" is not specific enough; you have to use something like "/isp/local/home/username/mysite.com/images/myimage.jpg".

        Comment

        Working...