1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-01 00:25:06 +02:00

Changed permission to mode in manifest.

This commit is contained in:
David Steele
2015-03-23 17:17:43 -04:00
parent 8a3c6388b2
commit 58d6c37f4a
8 changed files with 55 additions and 55 deletions

View File

@ -296,7 +296,7 @@ sub BackRestTestCommon_PathCreate
mkdir($strPath)
or confess "unable to create ${strPath} path";
# Set the permissions
# Set the mode
chmod(oct(defined($strMode) ? $strMode : '0700'), $strPath)
or confess 'unable to set mode ${strMode} for ${strPath}';
}
@ -311,7 +311,7 @@ sub BackRestTestCommon_PathMode
my $strPath = shift;
my $strMode = shift;
# Set the permissions
# Set the mode
chmod(oct($strMode), $strPath)
or confess 'unable to set mode ${strMode} for ${strPath}';
}
@ -405,7 +405,7 @@ sub BackRestTestCommon_FileCreate
or confess 'unable to set time ${lTime} for ${strPath}';
}
# Set the permissions
# Set the mode
chmod(oct(defined($strMode) ? $strMode : '0600'), $strFile)
or confess 'unable to set mode ${strMode} for ${strFile}';
}