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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

/usr/bin/curl : jailed shell : permission denied

Discussion in 'Security' started by sreeninair, May 4, 2014.

  1. sreeninair

    sreeninair Well-Known Member

    Joined:
    Dec 23, 2013
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello Guys,

    I am facing some issues while using curl from a jailed shell user. The permission of binary /usr/bin/curl is 750 . When I change it to 755 it works. Please let me know the recommended permission for this binary.

    Thanks
    Sreenivas
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    829
    Likes Received:
    25
    Trophy Points:
    178
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    755 is fine - some hosting providers set it to 750 by default to prevent rogue scripts from downloading files, but it's pretty pointless.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,659
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    The permissions on /usr/bin/curl are 0755 by default on a test CentOS 6.5 server I created.

    Thank you.
     
Loading...

Share This Page