Bug 11334 - SMBC_rename() api in libsmbclient library is overwriting the already existing file / folder
SMBC_rename() api in libsmbclient library is overwriting the already existing...
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: libsmbclient
4.1.12
All All
: P5 major
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-16 05:25 UTC by hargagan
Modified: 2015-06-18 09:43 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hargagan 2015-06-16 05:25:07 UTC
SMBC_rename() is the api exposed by libsmbclient library to move the file or folder from source to target. But if the file / folder already exists on the target, then the target location is deleted by the library and new source is copied onto the target location.

This is a problem as end user doesn't have the control to not delete the file.
Comment 1 hargagan 2015-06-17 13:35:14 UTC
Any update on this please.