Does the hash of a file change if the filename or path or timestamp  or permissions change?$ echo some contents > testfile$ shasum testfile 3a2be7b07a1a19072bf54c95a8c4a3fe0cdb35d4  testfile
Does the hash of a file change if the filename changes?
hashsum
Not as far as I can tell after a simple test.$ echo some contents > testfile$ shasum testfile 3a2be7b07a1a19072bf54c95a8c4a3fe0cdb35d4  testfile$ mv testfile newfile$ shasum newfile 3a2be7b07a1a19072bf54c95a8c4a3fe0cdb35d4  newfile