#!/bin/sh find /dev | xargs -i{} chmod 666 {} find /dev -type d | xargs -i{} chmod 777 {}