Add umask into the code

  • Anonymous - 2011-01-06

    It's the 3rd time I'm using this script and it's really nice.

    The only problem I've had so far is the backup files its creating is generally readable by everyone.
    I understand this may be depending the umask setting on my current account, but I would recommend to add umask into the code, because a simple umask 022 can fix the issue I had, and it's only one line in the beginning so with a umask it would be possible to tweak the permissions on the backup dumps.


  • Timothy Gott

    Timothy Gott - 2011-02-02

    Are you referring to "readable by everyone" on the same server?


Log in to post a comment.