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.

PLS HELP!! permission 0 ! [moved]

Discussion in 'General Discussion' started by goodgbb, Aug 22, 2005.

  1. goodgbb

    goodgbb Well-Known Member

    Joined:
    Aug 15, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Thailand
    PLS HELP!! permission 0 !

    Dear Helpers

    My important file get permission to be "0" , I can't read write execute. I can't chmod this file.
    I'm using ftp access.

    What can i do for this file?
    Do I need root access?
    HOW TO CHANGE PERMISSION TO BE DEFAULT(644)?

    I'm looking forward to read your helping


    THANK YOU SO MUCH!!!
     
  2. oulzac

    oulzac Well-Known Member

    Joined:
    Aug 7, 2005
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    It seems by your post, that this is not your server, so you will need to contact your hosting company, as they have permission problem, or they change the permissions for a reason, so you will need to talk to them to find out wich, as you will need root/ssh access to fix the problem.

    :cool:
     
  3. goodgbb

    goodgbb Well-Known Member

    Joined:
    Aug 15, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Thailand
  4. aby

    aby Well-Known Member

    Joined:
    May 31, 2005
    Messages:
    638
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India

    You can use

    chmod 644 filename
    if you need to change the permission for just a single file.
     
  5. goodgbb

    goodgbb Well-Known Member

    Joined:
    Aug 15, 2005
    Messages:
    75
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Thailand
    Thanks
    I told that other files can change permission. Problem is just the file permission is "000" then I can't do anything in ftp access and cpanel file manager.

    following link is the file screen shot in cpanel

    [​IMG]
     
  6. oulzac

    oulzac Well-Known Member

    Joined:
    Aug 7, 2005
    Messages:
    131
    Likes Received:
    0
    Trophy Points:
    16
    If you have root access, login with ssh, and type :

    chattr -i /home/username/public_html/*
    or
    chattr -i /home/username/public_html/index.html

    then type:

    chown username:username /home/username/public_html/index.html

    then type:

    chmod 644 /home/username/public_html/index.html

    This will fix your problem.

    IF you do not have root access, your host will have to do this for you, but more than likely if they chattr +i your file, there is an issue you need to talk to them about this with.
     
  7. carlosferns2004

    carlosferns2004 Active Member

    Joined:
    May 5, 2005
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    india
    Hi

    HELLO

    THE BEST SOLUTION IS TO CONTACT UR WEB HOSTING PROVIDER>








    Regards
    Carlos
     
  8. carlospix

    carlospix Registered

    Joined:
    Nov 20, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Planet Earth
    Hmmm... This has nothing to do with cPanel...
    But you probably need to change the file's ownership before you can change its permissions by FTP.
     
Loading...

Share This Page