After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 651494 - Nautilus - archive create error (source without write permission)
Nautilus - archive create error (source without write permission)
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2011-05-30 19:18 UTC by Artur
Modified: 2013-08-18 08:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Artur 2011-05-30 19:18:28 UTC
Nautilus function "Create an archive" (from directory context menu) displays "An error occured adding files". I tried to archive "/usr/share/gnome-shell/theme" to a new file in my home directory. There was no problem to make such archive using file-roller. Moreover, I unpacked archive made by file-roller, then created a new archive from unpacked files using Nautilus context menu.

Does Nautilus try to use current "context" location as temporary? My user does not have rights to write to "/usr/share/gnome-shell".

Distribution: Archlinux x64
Kernel: 2.6.38.7-1
Nautilus version: 3.0.2-1
Comment 1 Artur 2012-04-30 09:44:31 UTC
Nautilus tries to use temporary file located one level higher than the directory to compress. If user has rigths to write there, it creates a file "<archive name>.7z.tmp" there - even if I point to other directory as archive destination. 

For example - right click on /home/<user> directory, choose "Compress" and the application tries to create file /home/<user>.7z.tmp and fails of course, because <user> does not have write rights in "/home".

To solve thig bug - Nautilus should use as temporary "/tmp" directory or the destination one. 

I moved to Ubuntu 12.04 in the meantime (Gnome 3.4), but the problem still exists.
Comment 2 Cosimo Cecchi 2012-04-30 14:42:07 UTC
-> file-roller

This sounds like an issue with the file-roller Nautilus extension.
Comment 3 Paolo Bacchilega 2013-08-18 07:43:16 UTC
I cannot reproduce the problem, maybe it was caused by bug #701297.  If this is the case version 3.8.3 fixes this bug as well.
Comment 4 Paolo Bacchilega 2013-08-18 07:59:33 UTC
Actually I can reproduce it now, it only happens with 7zip archives.
Comment 5 Paolo Bacchilega 2013-08-18 08:21:32 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.