CHMOD linux
find . -type d -print0 | xargs -0 chmod 0775 # For directories
find . -type f -print0 | xargs -0 chmod 0664 # For files
CHMOD freebsd (jail)
for i in `find . -type d`; do chmod 755 $i; done
for i in `find . -type f`; do chmod 644 $i; done
git exclude file permissins
git config core.filemode false
find . -type d -print0 | xargs -0 chmod 0775 # For directories
find . -type f -print0 | xargs -0 chmod 0664 # For files
CHMOD freebsd (jail)
for i in `find . -type d`; do chmod 755 $i; done
for i in `find . -type f`; do chmod 644 $i; done
git exclude file permissins
git config core.filemode false