Public bug reported:

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 ?

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Renaming a file through Samba overwrites existing one
https://bugs.launchpad.net/bugs/382117
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to