Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 9 of 9

This is a discussion on Folder will not Delete in the Shared & Semi-Dedicated forum
Hey all, Due to the fact I cannot open a support ticket since I do not have my account's information, I figured next best thing ...

  1. #1
    JPC Member
    Join Date
    Jul 2004
    Posts
    7

    Folder will not Delete

    Hey all,

    Due to the fact I cannot open a support ticket since I do not have my account's information, I figured next best thing would be to post in here.

    I had a PHP script that thumbnails some images into a separate directory from the images are located, and now the time has come to delete this thumbnail directory--but I can't!

    I had it CHMOD'd to 777 at the beginning of this all, and now its somehow changed to 755. And whenever I try to delete it, it says it's gone to the trash, but alas, it is not in the trash, and it still resides in my directory tree.

    I guess since the PHP used the directory it took it's ownership away from my account, making it so I can't touch it anymore.

    The undeleteable folder has files in it that I cannot delete as well. I know there are no hidden files in it, as past threads have suggested.

    Anyone able to help?
    Last edited by Draconus; 09-18-2004 at 09:20 PM.

  2. #2
    JPC Member
    Join Date
    Aug 2004
    Posts
    4
    I had a problem like that with some folders and files generated by Smarty. I ended up making a little php file with unlink() and rmdir() commands in it to wipe out the files once and for all.

  3. #3
    JPC Member
    Join Date
    Jul 2004
    Posts
    7
    I'm unfamiliar with that command. I've PM'd you some information, so you might be able to help with creating such a file.

  4. #4
    JPC Senior Member
    Join Date
    Mar 2004
    Posts
    69
    open a ticket and ask the tech. to delete it for you.

  5. #5
    JPC Member
    Join Date
    Jul 2004
    Posts
    7
    I had said, I am unable to open a ticket as I do not have the login for that section of customer support.

  6. #6
    JPC Member
    Join Date
    Jul 2004
    Posts
    7
    Thanks, I got the PHP file to get rid of it all using unlink() and rmdir(), you da man!

  7. #7
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    For future reference, I've heard (although I haven't tried it out), that files/directories that are not owned by you (and thus not deletable through normal means) can be deleted from within the CP file manager. Since PHP runs as nobody and files/directories it creates will be owned by nobody.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  8. #8
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    I used to have a problem with this, but somewhere along the line, I made a change to the config in WinSCP, and now I can manipulate/delete files, folders, et cetera, owned by 'nobody'.

    I'm gonna have to figure out how I did this some day...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  9. #9
    Jag Veteran
    Join Date
    Oct 2003
    Location
    Location: Location:
    Posts
    633
    BUMP

    Vin,

    Did you ever figure out how to do the WinSCP thing?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •