Your IP : 216.73.216.40


Current Path : /var/www/html/
Upload File :
Current File : //var/www/html/setpermission

#!/bin/bash
#find . -maxdepth 1 -type d -name 's[0-9][0-9]' -print0 | xargs -0 -I {} cp test.txt {}
#find . -type f -mtime -14 -printf '%f\n'
grp="apache"
for name in $(find . -maxdepth 1 -type d -printf '%f\n'); do
    chown -R $name:$grp $name
    done