From owner-freebsd-ports-bugs@freebsd.org Tue May 14 07:29:47 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8560415A7A71 for ; Tue, 14 May 2019 07:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6CE88DB1 for ; Tue, 14 May 2019 07:29:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id D24D015A7A70; Tue, 14 May 2019 07:29:46 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95CC115A7A6F for ; Tue, 14 May 2019 07:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 273E188DAD for ; Tue, 14 May 2019 07:29:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 5D99E1224E for ; Tue, 14 May 2019 07:29:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x4E7Tj7X071951 for ; Tue, 14 May 2019 07:29:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x4E7Tjlu071950 for ports-bugs@FreeBSD.org; Tue, 14 May 2019 07:29:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237892] x11-fm/rox-filer: overwriting a file on an USB drive truncates it Date: Tue, 14 May 2019 07:29:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markus.hoenicka@mhoenicka.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: olgeni@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2019 07:29:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237892 Bug ID: 237892 Summary: x11-fm/rox-filer: overwriting a file on an USB drive truncates it Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: olgeni@FreeBSD.org Reporter: markus.hoenicka@mhoenicka.de Assignee: olgeni@FreeBSD.org Flags: maintainer-feedback?(olgeni@FreeBSD.org) FreeBSD wombat 11.2-RELEASE-p4 FreeBSD 11.2-RELEASE-p4 #0: Thu Sep 27 08:16= :24 UTC 2018 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERI= C=20 amd64 Short description: drag&drop a file from a rox-filer window showing the hard drive to a rox-filer window showing an USB drive. If the file already exist= s on the target drive, it will be truncated. Expected behaviour: The existing fi= le on the USB drive should be overwritten. Long description: After logging in, I start an Xfce session manually: startxfce4 --with-ck-launch mount stick in an xterm, as per handbook. Note that I've set up user mounti= ng of USB drives: mount -t msdosfs -o -m=3D644,-M=3D755 /dev/da0s1 /stick/username open source directory (on hard drive) in a ROX-Filer window open target directory (on usb drive) in another ROX-Filer window drag&drop a file from source over an existing copy of that file on target dialog box asks if it is ok to overwrite which I agree to ROX-Filer window shows the expected file size immediately after copying, and after rescanning the directory. ls -al /stick/markus/targetdir also shows t= he expected file size at this point. umount /stick/markus. fstat shows that the ROX-Filer process keeps the moun= ted directory busy, so I need to close all ROX-Filer windows first or kill the process in order to umount cleanly without -f. then mount the stick again as above, or try on a different computer ls -al /stick/username/targetdir shows a target file size of zero. Expected behaviour: the target file should be overwritten. If the stick is unmounted properly, pending data should be flushed, and no data should be l= ost. Ever. Additional information: ROX-Filer works correctly on a Debian Linux box, so it might be no ROX-Filer bug per se. Also, I cannot recall having this problem before I updated to FreeBSD 11.2. Target files are not truncated if I use Thunar or cp to overw= rite existing files on the USB drive. Any help is appreciated. --=20 You are receiving this mail because: You are the assignee for the bug.=