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.

Internal Error chown and permission massive fix? howto

Discussion in 'General Discussion' started by StefanNET, Mar 14, 2011.

  1. StefanNET

    StefanNET Member

    Joined:
    Jan 27, 2011
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    So I think there is problem in permission in some files, how can i run script or command so chown/group and permission will be fixed? I have moved users from direct admin panel to cpanel..
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hey,

    Directories :

    find /home/*/public_html -type d -exec chmod 755 {} \;

    Files :

    find /home/*/public_html -type f -exec chmod 644 {} \;
     
Loading...

Share This Page