#!/bin/bash

function test()
{
        stdout=`find /usr/ -mount -type f -perm -0002;find /home/  -mount -type f -perm -0002; find /sbin/  -mount -type f -perm -0002; find /bin/  -mount -type f -perm -0002;find /etc/  -mount -type f -perm -0002;find /boot/  -mount -type f -perm -0002;find /opt/  -mount -type f -perm -0002;`
		if [ -n "$stdout" ];then
			echo 1
		else
			echo 0
		fi

}
test





