Hi all,
My first post here.
I need a small script to check the directory permssions on my /home/uploads and if there are any newly created directory in uploads chmod them to 1777.
The upload directory is for my users who upload their pictures and I by default their directories are given 755. I dont' want to use umask as uploads is the only directory to be checked.
Does anyone know/have a bash script for doing this?
I'd appreciate any help. I've done my search but found nothing.