Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File-roller can't extract an archive in NTFS partitions #41

Open
andreas-xavier opened this issue Jun 9, 2023 · 2 comments
Open

File-roller can't extract an archive in NTFS partitions #41

andreas-xavier opened this issue Jun 9, 2023 · 2 comments

Comments

@andreas-xavier
Copy link

andreas-xavier commented Jun 9, 2023

What Happened?

In elementary OS 7 when I try to extract a compressed file (.zip, .tar.gz etc.) in a ntfs partition I got this message (in Italian, my system language):
Estrazione non eseguita. Permessi non sufficienti per estrarre archivi nella cartella «nome_cartella»
that should be:
Extraction not performed. You don’t have the right permissions to extract archives in the folder «folder_name»

Of course I do have read/write/execute privileges on the entire partition. Nothing particular in my /etc/fstab:
UUID=[partition_uuid] /media/user/DATA ntfs defaults,uid=1000 0 0
(in my case the ntfs partition is on an internal drive)

In fact the extraction works fine with other programs (ex: PeaZip) or if I use a simple terminal command:
unzip archive.zip

As temporary workaround, I solved using the file-roller package in Ubuntu repositories:

sudo apt purge org.gnome.fileroller
flatpak remove org.gnome.FileRoller
sudo apt install file-roller

The package from jammy's repo seems to be OK.

I suspect this could be related to the fact that file-roller flatpak maybe has no access to /media or /mnt directory (see #10 ).

Note for Log Output:
Sorry, in cases like this I launch the program via terminal so I can see what's wrong in the output. But if I run
flatpak run org.gnome.FileRoller
the gui seems not able to even select and open the ntfs partition.
So I just wrote the packages details.

Steps to Reproduce

  1. Save an archive in a ntfs partition.
  2. Open the file manager, then double click on the archive file or right click on it and select the option to open with file-roller.
  3. When the window of file roller is ready, simply drag and drop a file/folder to save it in the ntfs partition via file manager.
  4. A popup windows should appear with the message: «Extraction not performed. You don’t have the right permissions to extract archives in the folder «folder_name»»

Expected Behavior

The extracted file and/or folder should be correctly saved on the ntfs partition.

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

apt policy  org.gnome.fileroller         
org.gnome.fileroller:
[...]
  Tabella versione:
     3.40.0-0+pkg5~ubuntu7.1 500

flatpak list
Name                                       Application ID                            Version      Branch           Origin           Installation
[...]
File Roller                                org.gnome.FileRoller                      43.0         stable           appcenter        system

Hardware Info

No response

@tetebueno
Copy link

I have an ext4 mount configured in fstab and can't make it work either. Also, when trying to achieve this with the mentioned workaround I can't see the "compress" option in the Files context menu.

@ryonakano
Copy link
Member

I guess this would be because we're only grant access to ~/ and /tmp for our FileRoller?

"--filesystem=home",
"--filesystem=/tmp",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants