Probably make another post explaining what a sticky bit is and how it’s used, but for now I’m giving you just the code (great for web server directories).

find /var/www -type d -print0 | xargs -0 chmod g+s
    Advertisment ad adsense adlogger