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.

Automatic 0777 finder?

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

  1. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    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?
     
  2. dezignguy

    dezignguy Well-Known Member

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

    otherwise:

    Code:
    man find
     
Loading...

Share This Page