Skip to content

Commit e828f66

Browse files
committed
preserve file permissions while compressing
1 parent 26843a3 commit e828f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BuildProcess/CompressApplication.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function getPermissions($file)
6767
{
6868
return $file->isDir() || $file->getFilename() == 'php'
6969
? 33133 // '-r-xr-xr-x'
70-
: 33060; // '-r--r--r--'
70+
: fileperms($file->getRealPath());
7171
}
7272

7373
/**

0 commit comments

Comments
 (0)