title: How zip/unzip handles the symbolic links on unix systems?
body: <p>I'm using QuaZip for compressing files. There is a bug in the lib when you try to archive some folders that contain symlinks(aliases on mac), the file attributes are not preserved correctly in the archive. Is there a possibility to set the filetype attribute (file, directory, symlink, etc) through Qt or unix API?
  I saw that in Qt all the flags are handled via <code>QFile::setPermissions()</code> method.
  <a href="https://code.woboq.org/qt5/qtbase/src/corelib/io/qfilesystemengine_unix.cpp.html" rel="nofollow noreferrer">Here</a> in <code>QFileSystemEngine::setPermissions()</code>(Qt source) Qt implementation handles also other flags than the ones from <code>QFile::Permissions</code>.</p>
  
  <p>From Qt source:</p>
  
  <pre><code>if (success &amp;&amp; data) {
      data-&gt;entryFlags &amp;= ~QFileSystemMetaData::Permissions;
      data-&gt;entryFlags |= QFileSystemMetaData::MetaDataFlag(uint(permissions));
      data-&gt;knownFlagsMask |= QFileSystemMetaData::Permissions;
  }
  </code></pre>
  
  <p>How this situation is handled in zip/unzip utilities? </p>