Copy problem with small files from shares mounted with libpam-mount

Bug #1804693 reported by Alexandre Neveux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
New
Low
Unassigned

Bug Description

Dear all,

With a fresh install of ubuntu 18.04.1 and libpam-mount, I encounter
issue when I copy small text files of few octets from remote share to
local host with nautilus.

More exactly, when I paste the file from a mounted remote samba share
to a local directory, nautilus reports a time of transfer of
approximatively 596523 hours! The process keep locked and I need to
killall nautilus to terminate the copy.

It seems that nautilus is unable to "understand" the end of copy
because the file is well copied from remote to local directory and is
usable.

Can you resolve this issue please ?

Kind regards.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: nautilus 1:3.26.4-0~ubuntu18.04.2
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 22 20:01:59 2018
ExecutablePath: /usr/bin/nautilus
GsettingsChanges:
 b'org.gnome.nautilus.window-state' b'sidebar-width' b'235'
 b'org.gnome.nautilus.window-state' b'geometry' b"'890x548+992+52'"
 b'org.gnome.nautilus.desktop' b'volumes-visible' b'false'
InstallationDate: Installed on 2018-11-22 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
ProcEnviron:
 SHELL=/bin/bash
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:

Revision history for this message
Alexandre Neveux (alexandreneveux-69) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Could you give some details on how you configure/use libpam-mount and what sort of mounts you are doing with it? Can you copy files with cp or gvfs-copy without issue or do they have the same bug?

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Alexandre Neveux (alexandreneveux-69) wrote :

Hello,

Here my simple configuration working well since two years except this issue:

libpam-mount configuration:
---------------------------
$ sudo apt-get install cifs-utils libpam-mount
$ sudo vi /etc/security/pam_mount.conf.xml

<!-- Volume definitions -->
<volume uid="1000-2000" mountpoint="/home/%(USER)/Desktop/%(USER)" path="%(USER)" server="10.20.30.40" fstype="cifs" />
<!-- pam_mount parameters: General tunables -->

samba configuration:
--------------------
[homes]
   comment = Home directories
   browseable = no
   read only = no
   create mask = 0644
   directory mask = 0755
   valid users = %S

Copying files with cp or gvfs-copy works well without any issue.

I can report this bug with Xfce Manjaro, Gnome Fedora, Cinnamon/Mate LinuxMint too.
This bug doesn't appear on KDE !

Kind regards

Revision history for this message
Sebastien Bacher (seb128) wrote :

Ok, weird that gvfs works but nautilus not, those usually rely on the same underlining libraries. Could be worth reporting upstream also on https://gitlab.gnome.org/GNOME/nautilus/issues/

Changed in nautilus (Ubuntu):
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.