Bug 13599 - can't rename file or directory on Windows Server 2016 share
can't rename file or directory on Windows Server 2016 share
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: libsmbclient
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2018-09-01 18:24 UTC by Jérémy Viès
Modified: 2019-02-12 14:57 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jérémy Viès 2018-09-01 18:24:43 UTC

I reported an issue at gvfs (
https://gitlab.gnome.org/GNOME/gvfs/issues/19) that finally was due to
The issue is about the fact I can't rename a file on a Windows Server
2016 share from nautilus.

I've successfully reproduced the issue using smbclient itself. Here are
the traces:

smb: \xxx\yyy> rename text.txt toto.txt
\server\share\xxx\yyy\text.txt -> \server\share\xxx\yyy\toto.txt
smb: \xxx\yyy>

The problem was observed using Samba 4.8.4 (debian package :

Ondrej Holy from GVFS did not reproduced the issue, using Samba 4.9.

If you need more information, I can try to run it again with more
verbose or in debug.

Jérémy Viès
Comment 1 Alexandre Massiot 2019-01-28 09:39:29 UTC

I am having the same exact issue, with a very similar configuration.
I also did try using Smbd 4.9.4-Debian, same issue.

Alexandre Massiot.
Comment 2 Nec 2019-02-12 14:57:21 UTC

I have the exact same issue.

* Observed on CentOS server 7.6 and samba 4.7.1-9 from Ubuntu 18.10 with gvfs 1.38.0-2 .

* Tried on shares with and without dollar sign in the share name.

* Tried via nemo/thunar/libreoffice/smbclient/command line via /run/user/xxxx/gvfs

Who could be the correct dev that could have a look at it or lead us towards the right direction?