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!

Automatic 0777 finder?

Discussion in 'General Discussion' started by webignition, Feb 15, 2005.

  1. webignition

    webignition Well-Known Member

    Jan 22, 2005
    Likes Received:
    Trophy Points:
    I'm not very (or at all) experienced in writing shell scripts or using SSH command line functions, so I'm not sure if this is possible.

    I've enabled phpsuexec and due to this users have problems from time to time with directories or files haveing 0777 permissions. This is itself is not really a problem, since I can usually find the guilty files and change their permissions (normally only for the not so technically competent users).

    However I thought it would be much much easier if I could run some script or command from an SSH window that will automatically find files based on their permissions.

    If I could simply search in /home for files that have 0777 permissions it would make the task of finding guilty files a lot lot quicker.

    Any suggestions?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. dezignguy

    dezignguy Well-Known Member

    Sep 26, 2004
    Likes Received:
    Trophy Points:
    yep... you can search here or search google and you'll likely find some examples...


    man find

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