[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2011-08-31 Thread Bug Watch Updater
** Changed in: samba
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/382117

Title:
  Renaming a file through Samba overwrites existing one

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/382117/+subscriptions

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2011-08-16 Thread Bug Watch Updater
** Changed in: samba
   Status: New = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/382117

Title:
  Renaming a file through Samba overwrites existing one

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/382117/+subscriptions

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-09-16 Thread Bug Watch Updater
** Changed in: samba
   Importance: Unknown = High

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-07-27 Thread Dan Andreșan
Sebastien,

The bug still exists in Lucid (fully up to date).
I hit it by mistake, renaming some TV episodes on a NAS connected through 
Nautilus Samba (smb://server/share).
But, as you correctly pointed out, it is not related to samba, but to gvfs.

Allow me to be brief:
D1. create two files on desktop, one first.txt, second second.txt and write 
first in the first one and second in the second one
D2. try to rename first.txt to second.txt. Nautilus complains: 'The item could 
not be renamed. The name second.txt is already used in this folder. Please 
use a different name'. GOOD!

F1. copy first.txt and second.txt to a ftp server via Nautilus FTP connection.
F2. try to rename first.txt to second.txt. BAM! You've just lost the original 
second.txt

S1. copy first.txt and second.txt to a samba server via Nautilus SMB connection.
S2. try to rename first.txt to second.txt. BAM! You've just lost the original 
second.txt

This should not happen. Of course, Thierry is right, mv does not prompt.
In this case, please remove the prompt from Nautilus in D2 case (on the
desktop). Oh, the developer intent was to protect the user. In this
case, protect the user also when he/she is using smb or ftp in Nautilus
through gvfs.

Thanks,
Dan.

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-24 Thread Bug Watch Updater
** Changed in: samba
   Status: Unknown = 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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-23 Thread Brice Terzaghi
Filed a bug in GNOME bugzilla :
https://bugzilla.gnome.org/show_bug.cgi?id=616645


** Bug watch added: GNOME Bug Tracker #616645
   https://bugzilla.gnome.org/show_bug.cgi?id=616645

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-23 Thread Sebastien Bacher
** Also affects: samba via
   https://bugzilla.gnome.org/show_bug.cgi?id=616645
   Importance: Unknown
   Status: Unknown

** Changed in: gvfs (Ubuntu)
   Status: New = Triaged

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-21 Thread Sebastien Bacher
could you try if that's still an issue in karmic or lucid?

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-21 Thread Brice Terzaghi
Don't know for Lucid but the problem is still there in Karmic (packages
up to date, with backports repository active).

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2010-04-21 Thread Sebastien Bacher
The issue is an upstream one and it would be nice if somebody having it
could send the bug the to the people writting the software
(https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

** Package changed: nautilus (Ubuntu) = gvfs (Ubuntu)

** Changed in: gvfs (Ubuntu)
   Status: Incomplete = New

** Changed in: gvfs (Ubuntu)
 Assignee: Ubuntu Desktop Bugs (desktop-bugs) = (unassigned)

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-24 Thread Brice Terzaghi
Using smbclient, I tried to rename a dummy file to an existing name using the 
rename command. Got an error message saying the file already existed.
So I guess the problem comes from Nautilus not using the smbclient commands ?

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-23 Thread Thierry Carrez
smbclient uses FTP-like commands like ls / put / get
Please see 
http://manpages.ubuntu.com/manpages/jaunty/en/man1/smbclient.1.html#toptoc4

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-22 Thread Sebastien Bacher
Thank you for taking the time to report this bug and helping to make Ubuntu 
better. Please answer these questions: 
 
 * Is this reproducible? 
 * If so, what specific steps should we take to recreate this bug? 
 * How do you mount the share? is that specific to nautilus?
 
 This will help us to find and resolve the problem.

** Changed in: nautilus (Ubuntu)
   Importance: Undecided = Low

** Changed in: nautilus (Ubuntu)
   Status: New = Incomplete

** Changed in: nautilus (Ubuntu)
 Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs)

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-22 Thread Brice Terzaghi
It is fully reproductible with the steps I've descriped above.

I mount the share from the Shortcuts menu (not sure of the english
name : it's the GNOME menu with shortcuts to usual places, recent
documents, etc. between Applications and System ; it's called
Raccourcis in french, maybe it's called Places in english). I use
connect to server then choose Windows share, set the host name, user
name and the Samba share appears on the desktop. I then browse through
it with Nautilus.

The server runs Ubuntu too, Samba shares have been set on it remotely
via Webmin (I'm not connecting to a Windows system).

How can I check if the problem exists without Nautilus ? Are there
commands I can type in a terminal to connect to a Samba share and manage
files on it ?

-- 
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


Re: [Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-22 Thread Mathias Gug
On Mon, Jun 22, 2009 at 02:49:41PM -, Brice Terzaghi wrote:
 The server runs Ubuntu too, Samba shares have been set on it remotely
 via Webmin (I'm not connecting to a Windows system).

Could you post the remove server configuration (/etc/samba/smb.conf)?

 How can I check if the problem exists without Nautilus ? Are there
 commands I can type in a terminal to connect to a Samba share and manage
 files on it ?

You can run the following commands from a terminal:

To test:

 1. install the samba-client package
 2. try to connect to the remote system from the command line: 

smbclient //remote_system/share_name

If the share requires a specific username/password, try using the -U
parameter (for example, use -U ntdomain\\user). 

-- 
Mathias Gug
Ubuntu Developer  http://www.ubuntu.com

-- 
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


[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-22 Thread Brice Terzaghi
When connected to a Samba share with smbclient, do I use the usual
commands (cp, mv...) or are there commands specific to Samba ?

Here is my smb.conf :
--
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
map to guest = bad user
encrypt passwords = true
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
writeable = yes
server string = %h server (Samba, Ubuntu)
unix password sync = yes
workgroup = WORKGROUP
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
max log size = 1000
pam password change = yes

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will
part of

# server string is the equivalent of the NT Description field

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable its WINS Server
#   wins support = no

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# This will prevent nmbd to search for NetBIOS names through DNS.

# What naming service and in what order should we use to resolve host names
# to IP addresses
;   name resolve order = lmhosts host wins bcast

 Networking 

# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
;   interfaces = 127.0.0.0/8 eth0

# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself.  However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
;   bind interfaces only = yes


 Debugging/Accounting 

# This tells Samba to use a separate log file for each machine
# that connects

# Cap the size of the individual log files (in KiB).

# If you want Samba to only log through syslog then set the following
# parameter to 'yes'.
#   syslog only = no

# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.

# Do something sensible when Samba crashes: mail the admin a backtrace


### Authentication ###

# security = user is always a good idea. This will require a Unix account
# in this server for every user accessing the server. See
# /usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
# in the samba-doc package for details.
#   security = user

# You may wish to use password encryption.  See the section on
# 'encrypt passwords' in the smb.conf(5) manpage before enabling.

# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.  


# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.

# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Ian Kahan 
ka...@informatik.tu-muenchen.de for
# sending the correct chat script for the passwd program in Debian Sarge).

# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.

# This option controls how unsuccessful authentication attempts are mapped 
# to anonymous connections

## Domains ###

# Is this machine able to authenticate users. Both PDC and BDC
# must have this setting enabled. If you are the BDC you must
# change the 'domain master' setting to no
#
;   domain logons = yes
#
# The following setting only takes effect if 'domain logons' is set
# It specifies the location of the user's profile directory
# from the client point of view)
# The following required a [profiles] share to be setup on the
# samba server (see below)
;   logon path = \\%N\profiles\%U
# Another common choice is storing the profile in the user's home directory
# (this is Samba's default)
#   logon path = \\%N\%U\profile

# The following setting only takes effect if 'domain logons' is set
# It specifies the location of a user's home directory (from the client
# point of view)
;   logon drive = H:
#   logon home = \\%N\%U

# The following setting only takes effect if 'domain logons' is set
# It specifies the script to run during logon. The script must be stored
# in the 

[Bug 382117] Re: Renaming a file through Samba overwrites existing one

2009-06-01 Thread Thierry Carrez
Yes, it's normal behavior for mv to overwrite without warning in this case. Use 
mv -i to prompt on overwrite.
I'd say it's a bug in Nautilus, if any. Probably linked to bug 316653.

** Also affects: nautilus (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