It happens very often that somebody asks me to share a file on our server. To give read permissions to somebody, all the directories that have be traversed to get to the file need to be readable as well. This bash function gives the permissions of every directory along the full path so one can easily see if the file is accessible.


comments powered by Disqus