markfasheh / duperemove

Tools for deduping file systems
GNU General Public License v2.0
794 stars 78 forks source link

Create hash database file with 600 permission #263

Closed lorddoskias closed 3 years ago

lorddoskias commented 3 years ago

The argument was made that since the hashfile contains paths and content hashesh for files and directories that are otherwise protected by the filesystem permissions. Fix this by explicitly setting the permissions for a newly created database file to 600.

close #262