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.

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:
    1
    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:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Do you have shell access?
     
  3. teraysay

    teraysay Member

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

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    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:
    1
    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:
    14,482
    Likes Received:
    203
    Trophy Points:
    63
    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?
     
  7. teraysay

    teraysay Member

    Joined:
    Mar 25, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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