[Bug 382117] Re: Renaming a file through Samba overwrites existing one
Bug Watch Updater
382117 at bugs.launchpad.net
Wed Aug 17 02:12:21 UTC 2011
** Changed in: samba
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/382117
Title:
Renaming a file through Samba overwrites existing one
Status in Samba:
In Progress
Status in “gvfs” package in Ubuntu:
Triaged
Status in “samba” package in Ubuntu:
Invalid
Bug description:
Binary package hint: samba
Using Ubuntu "Jaunty" 9.04 with Samba 2:3.3.2-1ubuntu3.
I have a local server with directories shared through Samba and access them from another computer using Nautilus. When renaming a file to a name that already exists in the current dir, the original file is replaced without warning instead of having an error message like "can't rename: file already exists".
E.g.:
- access a Samba share through Nautilus
- create two blank files (blank_file_1 & blank_file_2)
- rename blank_file_2 to "blank_file_1"
- blank_file_1 is lost forever and now replaced by the content of blank_file_2
The problem doesn't happen with a remote directory mounted as sftp (error message saying that the file already exists) but does happen with the "mv" command in command line (in local dir or through ssh) so I'm not sure if the problem is related to Samba or mv or both.
Is mv supposed to overwrite existing files without warning or errors ?
To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/382117/+subscriptions
More information about the foundations-bugs
mailing list