On 31.10.2016 13:31, Paul Hammant wrote: > Thanks everyone - I was able to progress with this and pluck out SHA1s in a > single operation. > > I still think it would be good for sha1's to be calculated for directories > *too*. Better still if those obeyed user permissions too.
Server CPU is a limited resource. File content hashes are not affected by user permissions, so they can be computed once and reused. A hash of a user-specific view of directory contents would have to be recalculated at every access. -- Brane