Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Couldn't get handle: Permission denied

Discussion in 'General Discussion' started by teraysay, May 15, 2008.

  1. teraysay

    teraysay Member

    Joined:
    Mar 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    I am trying to login to my server via SFTP, but whenever i try to get to a certain directory, i get "Couldn't get handle: Permission denied"

    When i tried to change the permissions, I got the same error "Couldn't get handle: Permission denied"

    How can i get in?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you have shell access?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. teraysay

    teraysay Member

    Joined:
    Mar 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    i use a mac, so i have the "terminal" program
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    But do you have shell access to the cPanel/WHM server?
     
  5. teraysay

    teraysay Member

    Joined:
    Mar 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    I'm not sure --
    I can access it via SFTP, and can get into the root folder. but then when i try to get to the folders i need to change, i don't have permission.

    I can access the front end Web Host Manager.---
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    How are you connecting with SFTP, as in what application/client are you using? That might be the problem.

    Is this a reseller account or do you have root access, as in are you using an account name to login via SFTP or using the login name, root?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. teraysay

    teraysay Member

    Joined:
    Mar 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    51
    ah that's it! I was logging in as the main user instead of as "root"

    I can change files now.

    Thanks for all the help! This server sort of fell on my lap, so it's been a a bit of a struggle figuring it all out!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice