Skip to content
Snippets Groups Projects
Unverified Commit 4bf11e65 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4871 from JediKev/cli/package-no-file-permissions

cli: Package No File Permissions
parents f04f547b 25e6c6e9
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ class Packager extends Deployment {
if ($php56) {
// Set the Unix mode of the file
$stat = stat($full);
$zip->setExternalAttributesName($local, ZipArchive::OPSYS_UNIX, $stat['mode']);
$zip->setExternalAttributesName($local, ZipArchive::OPSYS_UNIX, $stat['mode'] << 16);
}
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment