[Bug 1897758] [NEW] ark does not preserve permissions when extracting folders
Juan Carlos Amengual
1897758 at bugs.launchpad.net
Tue Sep 29 15:17:34 UTC 2020
Public bug reported:
This is the structure of a directory:
$ sudo tree -ps
├── [d--------- 4096] Peppo
│ ├── [-rw------- 2] Archivo de texto.txt
│ ├── [----rw---- 7390] LibreOffice Calc.ods
│ └── [d--------- 4096] zeppo
│ └── [-r-------- 111] Archivo HTML.html
2 directories, 3 files
Then, I run this command (I need root privileges to overcome
$ sudo zip -r kk.zip Peppo/
I have run "zipinfo" and the permissions are OK inside "kk.zip".
Whenever I extract the whole structure of "kk.zip" with ark (with
dialog, i.e. graphics, with Dolphin's contextual menu, from console
--running "ark --batch kk.zip"--), permissions of all the directories
are **not** kept. Instead, all of the directories are created using
system's umask (in my case 027, so permissions are rwxr-x--- for folders
"Peppo" and "zeppo"). The permissions of all the files are OK (they are
If I use "unzip" from the command line (unzip kk.zip), however, all of
the permissions (directories and files) are perfectly kept.
This is annoying since there is no way to tell ark that the original
permissions of directories must be kept when decompressing. Moreover, I
think that the default behavior of ark should be the same as "unzip",
that is, keeping the original permissions of both directories and files.
I think this is a bug because, in fact, ark preserves permissions when
extracting files but not the directories. It seems that directories are
not extracted but created.
Thanks a lot in advance for your consideration.
** Affects: ark (Ubuntu)
** Package changed: akonadi (Ubuntu) => ark (Ubuntu)
** Summary changed:
- ark does not preserve permissions when extracting folder
+ ark does not preserve permissions when extracting folders
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to akonadi in Ubuntu.
ark does not preserve permissions when extracting folders
To manage notifications about this bug go to:
More information about the kubuntu-bugs