Add umask into the code

Anonymous
2011-01-06
2013-05-29
  • Anonymous - 2011-01-06

    Hi.
    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.

    Thanks,
    Istvan

     
  • Timothy Gott

    Timothy Gott - 2011-02-02

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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks