Nov 21, 2009

I Do Not Own This Folder, Please Delete - Permissions/ownership error

free web hosting
Open Discussion & Free Web Hosting > Free Web Hosting > Hosting Support & Help

I Do Not Own This Folder, Please Delete - Permissions/ownership error

evought
I have a folder ~/public_html/templates/warmish_community.bak which I do not own and do not have permissions to delete. I have copied and renamed the folder contents so that I own and can manipulate the files but cannot delete the original.

Please delete this folder for me when you get a chance. This is not time critical.

The error was probably caused by a faulty mambo install script. You may want to look into this because it might represent a security hole.

Comment/Reply (w/o sign-up)

vujsa
This was a backup created by mambo. As a result, the folder is owned by the sysem and it is very difficult to get rid of.

You'll need a script to change the permissions of the file.
This cleanup program will do the trick.
Click to view attachment

Just upload the php file inside the compressed file and then access the script with your browser.

ie:
If you upload to /username/html_public/cleanup.php
Then in your web browser type http://your.sub.domain.com/cleanup.php

It will prompt you for the path to the folder that you want access to.

The script then changes the the folder or files permissions to 777 (Read, Write, Exec ALL)

You can then delete the unwanted folder.

I highly recommend placing the script in its own directory and placing a password protection on that directory. Additionally, you could simply delete the script after you are finished with it. Leaving the script unprotected opens a very very big security hole.

A note about mambo.
When you upload and install ANY new mambo template, component, module, or mambot with the mambo installer; the file is actually handled by the system as commanded by the script that is in use. Since the system is doing all of the work in your file system, it holds the permissions of the files and/or folders that were created. Since it is the owner and you are not, you can't modify the files unless the system set the permissions to 777 for the file or folder. This is a common situation with most scripts that access your file system.
In the same manor, the system can not modify a file that you own unless you set the permissions to 777. Since mambo uses the file system instead of the ftp system to install addons, you will have difficulty removing files that mambo creates for you. The ftp system isn't used because it is either more work to install addons because you have to provide your ftp login information each time or it is a security risk because the the login information is stored for you.

Hope this helps. cool.gif

vujsa

 

 

 


Comment/Reply (w/o sign-up)

JUDGE_RELIC
I was never impressed with mambo. Php-Nuke always seemed to have more options available and easier to work on.

Another option is if you're using ws_ftp pro chmod the file to 777 and the try to delete it via the ftp. It should work.

Comment/Reply (w/o sign-up)

vujsa
QUOTE(JUDGE_RELIC @ Jan 2 2006, 12:06 PM)
I was never impressed with mambo.  Php-Nuke always seemed to have more options available and easier to work on.

Another option is if you're using ws_ftp pro chmod the file to 777 and the try to delete it via the ftp.  It should work.
*



Actually, He can not change the permissions to 777 because he doesn't own the directory. The system owns it. Please read the entire topic prior to replying.

vujsa

Comment/Reply (w/o sign-up)

catalinvvvv
QUOTE (vujsa @ Oct 11 2005, 09:27 AM) *
This was a backup created by mambo. As a result, the folder is owned by the sysem and it is very difficult to get rid of.

You'll need a script to change the permissions of the file.
This cleanup program will do the trick.
Click to view attachment

Just upload the php file inside the compressed file and then access the script with your browser.

ie:
If you upload to /username/html_public/cleanup.php
Then in your web browser type http://your.sub.domain.com/cleanup.php

..........



RO: O alta varianta pentru a sterge directoarele cu alt "owner" decat "al tau", este sa le redenumiti si apoi se pot stege cu un client ftp. Succes! Mie mi-a luat cam 3 ore sa caut pe net diferite variante, dar pe asta am incercat-o intamplator. Si a mers! Cool!

EN: Another way for delete (erase) the directories which have other owner than "you", is to rename those directories, (... image become image01) and then, they can erase them with an ftp client (FileZilla). It was ... Worked! Success!
...sorry my english...
catalinvvvv

Comment/Reply (w/o sign-up)


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : folder, delete, permissions, ownership, error

  1. Delete Account Please
    (1)
  2. Purchase Credit Error
    (0)
    Whenever i enter purchase credits i get this CODE 404 : Not Found The server has not found
    anything matching the Request-URI. No indication is given of whether the condition is temporary or
    permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally
    configurable mechanism, that an old resource is permanently unavailable and has no forwarding
    address. This status code is commonly used when the server does not wish to reveal exactly why the
    request has been refused, or when no other response is applicable. does any one else ge....
  3. Error While Activing Hosting Account - Resolved
    (7)
    This happen when I try to active my hosting account.. Remembering that I had an account here and
    was the same domain......
  4. Cannot Delete Folders
    (2)
    Hi I've just been trying to delete some directories, after finding out how to Make what I
    wanted to have work without needing a ton of them (See my Dynamic Directories topic) I say trying
    to delete them, because I don't seem to be able to. In FTP (I use Filezilla), I keep getting
    permission denied errors when I try to delete any of them. In the file manager, it says it's
    deleted them, but it hasn't. Also, I tried chmodding all the files to 777, but it wouldn't
    let me do that either. The folders I wanted to delete were all of those in the "profiles" ....
  5. Dns Error
    (7)
    well on the saturday i actived the forum of my website.. thats OK, but today when i try to open the
    forum this returned this msg: "Cannot find "http://forum.tibiatraders.com/comm/index.php" DNS
    Error - Server cannot be found" i have only 1,86 days credits.. thats the problem? p.s: thats all
    right with my dns server. ....
  6. What Folder Do I Upload Vbulletin To?
    (9)
    what folder should i upload vbulletin to? i have no experience with having to many folders. old
    hosts had no folders. just upload and go. mind you they were probably hidden.....
  7. Faq Section Error
    Parse error: syntax error, unexpected '<' in /home/faqedit/ (2)
    I'm not sure if this is just me. But it's a server side parse error so should be global I
    get this error when i try to access the FAQ section Parse error: syntax error, unexpected '
    Also, i did a search to see if such error has already been reported. nothing if i use "frequently".
    Too bad i can't use "faq" as a search term.....
  8. Account Creation Error
    (5)
    Hello, thank you for accepting me. While creating my account (as per provided instructions), I
    encountered an error. Here is a screenshot for reference: I am not in any rush to get my
    account set up, but would appreciate any help/feedback when it's convienient for you.....
  9. Noticed A Small Error In Post Titles
    (6)
    I don't know where to put this, but I don't know if anyone has seen this either. I noticed
    a lot of post titles having this QUOTE this is some title with \"quotes\" obviously
    there's a stripslashes() problem. Just thought I would run that by the folks here at astahost.....
  10. How To Delete My Account?
    I want to delete my account (3)
    How do I delete my account?....
  11. How To Check File Size Of A Remote Folder
    (5)
    I have uploaded say phpbb on the server .. and i want to see how much size it is ( i know i can do
    that on windows) but i want to check the folder size AFTER i add images .. tweaks .. posts .. etc to
    it .. i want too what size the folder would be .. how do i check that ? .. any free software or
    cpanel could help me ? Regards Dhanesh. ....
  12. Delete My Account
    Delete my Account (4)
    hey i would like my account to be fully deleted including all the things i posted and my cpanel
    everything under this user name wannabeeaweak k thanks....
  13. Error In Account Creation
    Sorry, the password may not contain ... (2)
    Username passed validity tests. Connecting to database.. Connected. Verfying member status..Member
    Validated. Checking permissions Permissions granted. Checking if username is Unique. Username seems
    to be Unique. Data prepared for sending to Server. YOUR ACCOUNT WILL BE PHYSICALLY CREATED ON THE
    SERVER AND APACHE SERVICE WILL BE RESTARTED!! THIS PROCESS TAKES VERY LONG TIME. PLEASE BE PATIENT.
    DO NOT HIT RELOAD OR STOP. REQUEST SENT!..WAITING FOR REPLY.... REPLY RECIEVED! ANALYZING DATA.
    There were problems creating your account! Please Contact Administrator. Printing D....
  14. D2 Shoutbox Error: Dumping Css And Raw Html
    (1)
    I'm not sure what's wrong but this is what loads in the shoutbox every once-and-a-while: /*
    * Cascading Style Sheet(CSS 467), for Invision Power Board 2.0.0 * Author: James A. Mathias,
    admin@leihu.com, http://www.1lotus.com * Copyright: 2004 Invision Power Services, all rights
    reserved * * All style attributes in alpha-numeric order starting from 0 * */ /* *
    ======================================== * global element styles *
    ======================================== */ html{ overflow-x: auto; /* fixes MSIE scrollbar bug DO
    NOT REMOVE, has no effect in Mozilla, o....
  15. 404 Error
    (14)
    when i type my site address www.parsloyal.com, my browser display The page cannot be found
    /blink.gif" style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> what is
    happened!!!???? /mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" />
    /mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" />....
  16. Mysql Connection Error With Vbulletin
    Too many connections error (1)
    Warning: mysql_connect(): Too many connections in /home/darkool/public_html/admin/db_mysql.php on
    line 40 There seems to have been a slight problem with the database. Please try again by
    pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff,
    who you can also contact if the problem persists. We apologise for any inconvenience. When i try
    to access my website this error is displayed i'm using vbulletin in there, database can't
    have to much useres coz i only have two memberes registered, and also my mates can acce....
  17. Insuficient ...
    error (1)
    Username passed validity tests. Connecting to database.. Connected. Verfying member status..Member
    Validated. Checking permissions Insufficient Credits! Your post count/amount posted is too less
    compared to the package approved to you. Please verify with the administrators. You will need to
    make additional posts. The possible reason for this error is that your few posts are too small.
    Thank You! But i posted a request and it was aproved.. can anyone help /sad.gif"
    style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" />( ?....
  18. Error
    (3)
    i get a computerhelp.info.tm cannot be found when i try to goto my website and the ip address just
    gives me the main astahost page, i just noticed this and was woundering if it might be due to the
    fact that my account was upgraded or something?....
  19. Error On My Site
    (2)
    when i goto my site i get this error: QUOTE ERROR The requested URL could not be retrieved
    -------------------------------------------------------------------------------- While trying to
    retrieve the URL: http://computerhelp.info.tm/forums/index.php The following error was
    encountered: Connection Failed The system returned:     (111) Connection refused The remote
    host or network may be down. Please try the request again. Your cache administrator is root.
    -------------------------------------------------------------------------------- Generated Fr....
  20. Create A Folder
    (3)
    in ftp i couldn't log into user: chf so i logged in as ftp@computerhelp.info.tm but couldn't
    create any directories. and i closed out of cpanle cuas eit forze up when i got back it asks for
    login info and takes forever to load. edit: cpanel seems to load normally now. edit2: ok now ftp
    is working.......
  21. Gallery Script Error ...
    (1)
    Hey Guys. I get this error while configuring the Gallery Addon Script: Error: use_exif:
    /usr/bin/jhead must be a valid file (not a directory)! any ideas? cheers hashbang....

    1. Looking for folder, delete, permissions, ownership, error

See Also,

*SIMILAR VIDEOS*
Searching Video's for folder, delete, permissions, ownership, error
advertisement



I Do Not Own This Folder, Please Delete - Permissions/ownership error

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com