<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>215298</bug_id>
          
          <creation_ts>2009-11-19 17:54:41 +0000</creation_ts>
          <short_desc>compressed packages created under symlinked folders are corrupted</short_desc>
          <delta_ts>2009-12-29 04:11:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>ark</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>191821</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Micael Capitão">micael.capitao</reporter>
          <assigned_to name="Harald Hvaal">metellius</assigned_to>
          <cc>rakuco</cc>
    
    <cc>vortex</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>864991</commentid>
    <comment_count>0</comment_count>
    <who name="Micael Capitão">micael.capitao</who>
    <bug_when>2009-11-19 17:54:41 +0000</bug_when>
    <thetext>Version:           2.13 (using KDE 4.3.3)
Compiler:          gcc 4.4.2 
OS:                Linux
Installed from:    Archlinux Packages

I dont&apos;t know if it is a duplicated of bug 192281 or not.
When in dolphin (in my home directory) I select files and folders to compress using the service menu, a perfect compressed package is created with all the files and folders selected in. The same occurs if I use ark directly.
I have many symlinks to folders in my home directory.
The problem occurs when I try to create compressed packages containing files and folders that are in those symlinked folders. It creates a package with all folders starting at ~/  and finishing in the directory where the package was created. It doesn&apos;t save the contents I selected, only saves the folders and some files... sometimes it creates an empty package.
If I go directly to the folder pointed by the symlink it works as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884787</commentid>
    <comment_count>1</comment_count>
      <attachid>39242</attachid>
    <who name="Benjamin Schmitz">vortex</who>
    <bug_when>2009-12-22 16:05:18 +0000</bug_when>
    <thetext>Created attachment 39242
broken archive created by ark

Broken archive that was created by adding files from a symlinked directory.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>884788</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Schmitz">vortex</who>
    <bug_when>2009-12-22 16:05:39 +0000</bug_when>
    <thetext>This is indeed an annoying problem:

My home directory is located at &quot;/home/ich&quot;. However, &quot;/home/ich&quot; is actually a symlink to a directory on another drive. This hasn&apos;t caused any problems so far, except when compressing archives with ark.

I have attached an example archive. To create this, I right-clicked the file &quot;test.txt&quot; in my home folder in dolphin and selected &quot;Compress -&gt; as ZIP archive&quot;. Look at the funny result it produced.

However, if I navigate to the &quot;real&quot; home directory without using the symlink the result is correct.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>888519</commentid>
    <comment_count>3</comment_count>
    <who name="Raphael Kubo da Costa">rakuco</who>
    <bug_when>2009-12-29 04:11:40 +0000</bug_when>
    <thetext>This is actually bug 191821; marking as a duplicate.

*** This bug has been marked as a duplicate of bug 191821 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>39242</attachid>
            <date>2009-12-22 16:05:18 +0000</date>
            <delta_ts>2009-12-22 16:05:18 +0000</delta_ts>
            <desc>broken archive created by ark</desc>
            <filename>test.txt.zip</filename>
            <type>application/zip</type>
            <size>230</size>
            <attacher name="Benjamin Schmitz">vortex</attacher>
            
              <data encoding="base64">UEsDBAoAAAAAAFV/lju7PyqoFgAAABYAAAAdABwALi4vLi4vLi4vLi4vaG9tZS9pY2gvdGVzdC50
eHRVVAkAA6HeMEuj3jBLdXgLAAEE9AEAAARkAAAAVGhpcyBpcyBqdXN0IGEgdGVzdC4gClBLAQIe
AwoAAAAAAFV/lju7PyqoFgAAABYAAAAdABgAAAAAAAEAAACkgQAAAAAuLi8uLi8uLi8uLi9ob21l
L2ljaC90ZXN0LnR4dFVUBQADod4wS3V4CwABBPQBAAAEZAAAAFBLBQYAAAAAAQABAGMAAABtAAAA
AAA=
</data>

          </attachment>
      

    </bug>

</bugzilla>