mattock / automatic-cloud-backup

19 stars 19 forks source link

Permissions for .backup.sh-cookie are unsafe #2

Open mattock opened 7 years ago

mattock commented 7 years ago

Currently the cookie has 0644 permissions, which means that it could potentially be taken and used by local users other than the one who created it. The script should chmod the cookie file to 0600 to limit its exposure.