mirror of
https://github.com/duncs/clusterssh.git
synced 2025-04-21 00:59:07 +00:00
Merge pull request #107 from bmwiedemann/worldwritable
Do not make files world writable
This commit is contained in:
commit
09f2671d8e
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ for my $dest (@ARGV) {
|
|||
print "Generating: $source",$/;
|
||||
|
||||
if(-f $dest) {
|
||||
chmod(0777, $dest) || die "Could not chmod $dest for removing: $!";
|
||||
chmod(0755, $dest) || die "Could not chmod $dest for removing: $!";
|
||||
}
|
||||
|
||||
open(my $sfh, '<', $source) || die "Could not open $source for reading: $!";
|
||||
|
|
Loading…
Add table
Reference in a new issue