Cannot delete folders after mkdir()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ben

    #1

    Cannot delete folders after mkdir()

    Hi,

    I am using php to make a directory (to store all of the users files for
    the site), and it works fine

    mkdir("/home/fullpathtomyser ver/public_html/users/$users_id/", 0777);

    It makes the folder just perfect, BUT there is a flaw. The folders it
    creates are un-deletable. I can browse them, and even link to files
    within them, but I cannot delete them at all. I have tried deleting
    them through FTP and cPanel's File Manager, but no joy.

    Has anyone experienced this before ?

    Thanks.
    Ben

  • mcauser

    #2
    Re: Cannot delete folders after mkdir()

    What group does the folder belong to?



    Comment

    Working...