Ask Your Question

Unable to compress file with password (7z encryption)

asked 2017-06-28 17:03:43 -0500

Robert Robert Robert gravatar image

Hello Internet,

When I used Ubuntu, I was able to right click a folder, select compress, and turn a folder into a compressed archive with a password. I'm liking Fedora so far, but I cannot encrypt files with a password.

I am running Fedora 26 workstation (GNOME) and I have p7zip and p7zip-plugins installed.

This is what I see: [Document Name] .zip .tar.xz .7z

These are no options to add a password, and no options to select additional file extensions.

Thanks for your help, I will try installing Cinnamon tomorrow in the hopes that a more feature-rich desktop environment will have this ability built in.

edit retag flag offensive close merge delete


I can confirm that Cinnamon with p7zip installed allows you to create encrypted .7z (and other) archives from selected files / folders, with option to encrypt also filenames.

Select files -> right click and choose 'Compress..." -> choose ".7z" format and expand additional options to fill in the password field.

ozeszty gravatar imageozeszty ( 2017-06-29 15:19:33 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2017-06-29 11:36:29 -0500

florian gravatar image

updated 2017-06-29 11:39:19 -0500

If you want a graphical solution, just use File Roller (file-roller), Gnome's archive manager.

You won't be able to use it from the context menu in Nautilus, but just start File Roller and create a new archive. Since you have p7zip installed, it will allow to create .7z files and define a password as well. Once you have created a new archive, you can just drag and drop files from Nautilus.

edit flag offensive delete link more

answered 2017-06-29 09:21:26 -0500

sergiomb gravatar image

hi, I'm package maintainer of p7zip , p7zip-gui package have ServiceMenus from kde 4 and no longer work even in kde 5 , I 'll check ubuntu package that add that feature , but not soon . I'm very busy .

edit flag offensive delete link more

answered 2017-06-29 15:28:08 -0500

Robert Robert Robert gravatar image

Thanks for your help everyone. I am backing up ALL of my files to two different cloud services, so I wanted something that could quickly turn a folder into an encrypted file. Cinnamon's Nemo does this perfectly, so I wll be using it. It's good to now that other options exist though.

edit flag offensive delete link more

answered 2017-06-29 00:57:48 -0500

florian gravatar image

updated 2017-06-29 11:42:44 -0500

You can always use 7z from a command line, with a simple command like that:

7z a -p Outputfilename.7z <path-to-file-or-folder>

Example: 7z a -p myprojects.7z ~/Documents/projects

Before compressing, you will be asked for a password.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-06-28 17:03:43 -0500

Seen: 1,720 times

Last updated: Jun 29 '17