On rare cases where you need to provide group read and writable access from a multi-level sub-directory under your home, not that it's recommended from security perspective. Note when making your home directory readable by group you will have problem with passwordless ssh.
cd ; p="/home/runwuf/project/test/p1/runwuf" ; while [ $p != "/home" ] ; do chmod g+rw $p ; p=`echo $p | rev | cut -f2- -d"/" | rev` ; done
No comments:
Post a Comment