Menu

Cant Delete File??

Help
2005-06-22
2013-06-03
  • shiftiestmort

    shiftiestmort - 2005-06-22

    I am totally new to Form Generator but managed to install successfully. i tried to send a file thru a form which worked  but now i cannot delete the file from my server because it says i do not have permission!
    please someone help as my isp is useless lol

     
    • Musawir Ali

      Musawir Ali - 2005-06-23

      Your ISP apparantly has set the owner of the file to something other than your username. Thats why you cannot delete it. I've noticed a lot of ISPs are being careless like that. I will write a small script that will help you delete those files. Check back in a day or so.

       
    • DoctorMason

      DoctorMason - 2005-06-23

      Send me the password and I will get your server to give you permission to delete the file. I'll go to the cPanel and find the file, either change the permissions for you or I'll just delete it myself. This will save you the trouble. Glad to be of help!!

       
    • Musawir Ali

      Musawir Ali - 2005-06-26

      no absolutely not! Do not send passwords to anyone!
      DoctorMason, if you post any more of this crap I will report you to SourceForge. And do not post on this project's forums anymore!

       
    • AccessGranite

      AccessGranite - 2005-06-26

      Hi,
        I had similar problems with another php program. I couldn't use the online file manager in what I believe is a modified version of cpanel to delete files. I finally used my ftp program  (cuteftp pro) to go in and delete the files. I think it may have  been a bug in the control panel. I'm not a pro by any means but maybe my experience can be a little help.
      Jeff

       
    • Musawir Ali

      Musawir Ali - 2005-06-27

      unfortunately, this problem is a little different. The thing is, some ISPs are running their webserver has some undefined user, such as "nobody". Therefore, all the files and directories that are created through the webserver are owned by this user "nobody". Due to this, the regular user who owns the account cannot remove these files with his or her login. The trick, therefore, is to write a script to remove the files. Now, since the script will be run  by the webserver, it will have full permissions to all the files that it owns. Problem solved.

       
    • Aaron.Shanas

      Aaron.Shanas - 2005-07-07

      Any updates regarding that script fix? My server is doing the same thing. I'm not using my ISP, but I'm assuming that it would be the same for a paid webserver. I'd really like to make some changes to the look of the documents, but I can't delete any files, or replace anything now that it's installed. It does what I want it to do though!!

       
    • TNTEverett

      TNTEverett - 2005-07-07

      Don't hold your breath for this script.  It is likely that it won't work.  First find out what the permissions are for this file.  You haven't said anything about the actual permissions yet.  See if you can identify the owner of the file.  Cpanel will not allow you to see the owner, try ftp or telnet then use the ls command with options li "ls -lasFg" or some combination of these that might work. 
      Have you tried to use the Cpanel or ftp to change the file permissions?  Maybe you can change the permissions to 664 and then delete the file. 
      If nothing else works you are left with only one option, call your ISP's tech support. 

       
      • ilterocktive

        ilterocktive - 2005-07-07

        If you can't delete file...
        That means your host/server sucks.
        Im able to change everything related with every file on my server with no problems.
        I use Cpanel, ftp and file manager of cPanel without any problems. And script works just as it promises.
        That must be related with the configuration/policy of your server.

         
    • 2inept

      2inept - 2005-09-02

      Opps after posting this in the wrong thread I'll try again!!

      I think I understand what is going on...

      After a bit of trial and error.. mostly error!

      I think when the script generates your new forms the script runs under the server permissions and the newly created files are also under that user.
      This is why you can't delete them with an FTP command.

      You could go to http://wacker-welt.de/webadmin/ and download the webadmin.php form, upload it to your webspace and then use your browser to open the php file. This then allows you to view and edit files on the server, and because the server is doing the deleting the permissions are OK.

      Hope this helps..

      Chris

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.