How to mass chmod file and folder ?

Mass chmod folder :

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

Mass chmod file :

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

Tested with freebsd server and working 100% :D

source

Related posts:

    Mencari file inject di webserver
    Find r57 and c99 Shells Hidden Inside PHP and TXT Files

One Response to How to mass chmod file and folder ?

  1. ^kaNJeng^ says:

    [01:05] * terroris has joined #jatimcom
    [01:05] * ChanServ sets mode: +v terroris
    [01:06] auth
    [01:06] * +terroris has left #jatimcom
    -
    terroris is enforcer@services.allnetwork.org * Held for nickname owner
    terroris using services.allnetwork.org Basic Services AllNetwork
    terroris End of /WHOIS list.

    apaan nich malu-maluin aja masak locop jadi pencuri bot

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>