← Back to team overview

desktop-packages team mailing list archive

[Bug 1071759] Re: File-roller can't create new archives in mounted samba/ftp shares

 

I've played around a bit and i think there are at least two different
issues.

First, it looks like the gvfs backend didn't set file attributes.
The check if (! g_file_info_get_attribute_boolean (parent_info, G_FILE_ATTRIBUTE_ACCESS_CAN_WRITE)) in file fr-new-archive-dialog.c will fail because of that. It gets (NULL) instead of TRUE.
BUT if you specify /run/user/$user/gvfs/.... as folder, checking the attribute returns TRUE as it should. (This is strange, maybe i did a mistake during testing)

Then i commented out that check and recompiled.
I was now able to create an archive with files from my destop on the share.
BUT it is not working the otherway. If i want to create an archive on my desktop with files from the share it only looks like it is working (no error popping up, progressbar is shown) but the archive isn't created at all. So even if this check is skipped, it still fails if your source files are on a share.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/1071759

Title:
  File-roller can't create new archives in mounted samba/ftp shares

Status in File Roller:
  New
Status in file-roller package in Ubuntu:
  Triaged

Bug description:
  I have a large directory, almost 50Gb and 45.000 files shared by samba on ubuntu 12.04.1 LTS server.
  When trying to add some files to an archive, file roller reports insufficient permissions.
  It can't add new files to an existing archive either, only the extraction of files is permitted.

  Steps to reproduce:
  - mount the shared directory;
  - select any file, or group of files;
  - right click on the selection and choose "Compress..."
  - click on "Create".

  What happens: File-roller reports insufficient privileges.
  What should happen: a new archive containing the selected files is created in the remote directory.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: file-roller 3.6.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
  Uname: Linux 3.5.0-17-generic x86_64
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: amd64
  Date: Fri Oct 26 15:39:55 2012
  InstallationDate: Installed on 2012-10-22 (4 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  SourcePackage: file-roller
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/file-roller/+bug/1071759/+subscriptions