DNDataArchive::fixArchivePermissions
Given a path that already exists and contains an extracted sspak, including the assets, fix all of the file permissions so they're in a state ready to be pushed to remote servers.
Normally, command line tar will use permissions found in the archive, but will substract the user's umask from them. This has a potential to create unreadable files, e.g. cygwin on Windows will pack files with mode 000, hence why this fix is necessary.
Signature
public function fixArchivePermissions(string|null
$workingDir )
Parameters
$workingDir
— object- The path of where the sspak has been extracted to
Returns
- bool