The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't Delete Files ot Folder

Discussion in 'General Discussion' started by Possumnz, Oct 3, 2008.

  1. Possumnz

    Possumnz Member

    Joined:
    Apr 25, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I have a Folder that I can't seem to delete..

    I believe it is a permission related problem..

    What permission do I need to change it to?

    Id there is a number like 777 or 666 that will do it could you please let me know..

    All advice appreciated..

    thank you..
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    If you cannot delete it, the owner of the directory probably is not correct. Not permissions.

    chown -R usernamehere:usernamehere /home/usernamehere/public_html/foldernamehere
     
  3. Ghulam Yaseen

    Ghulam Yaseen Well-Known Member

    Joined:
    Mar 14, 2008
    Messages:
    49
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Karachi,Pakistan
    Yaseen

    Hello :),

    Please login as root and you have two option
    -------------
    chmod 606 file_name OR chown youruser_name filename
    -------------
    :cool:
     
Loading...

Share This Page