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.

Bash script

Discussion in 'General Discussion' started by merlinpa1969, Aug 3, 2007.

  1. merlinpa1969

    merlinpa1969 Well-Known Member

    Joined:
    Dec 3, 2003
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    PA
    cPanel Access Level:
    Root Administrator
    Hello
    can someone tel me where IO can find a bash script to
    chown -R $username:$username and chmod all 777 folders to 755 located in user accounts
     
  2. ashokpomnar

    ashokpomnar Active Member

    Joined:
    Sep 30, 2006
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Hey,

    Try to use following command to chmod all folder 755
    find /home/*/public_html -depth -type d -exec chmod 755 {} \;
     
Loading...

Share This Page