RE: problem with import in SMB (CIFS) share
From: Vandenbroucke Sander <Sander.Vandenbroucke_at_vandewiele.com>
Date: 2005-09-29 10:48:42 CEST
There might be something else wrong.
svn is able to create the 0-1.txn directory but there is no props-file in it.
-----Original Message-----
I have just tested this using my co-Linux running on a W2K3 server. The share is mounted with file_mode=0666 and dir_mode=0777, so anyone can access it.
If I test it as user "root" it works without problems, but if I test it as a "normal" user, I get the same error as you do.
Some investigation revealed that you have to set the umask correctly. In my case setting it to 0000 (man umask should help here) solved the problem.
Little explanation: This happens to repositories created on CIFS shares as the files created on them always belong to the user mounting it, no matter who issues a command (in my case all files belong to "root", even if created by another user). So if a user creates a file on the share it gets per default rw-r--r-- as rights, and as it belongs to root, nobody except root is allowed to change it. This essentially happens for SVN, too. Setting the umask appropriately changes this behaviour and everything should be fine.
HTH
Oliver Pajonk
2005/9/28, Vandenbroucke Sander < Sander..Vandenbroucke@vandewiele.com <mailto:Sander.Vandenbroucke@vandewiele.com> >:
Hi,
I'm setting up my first subversion repository.
I want to put the repository on a SMB share hosted by some Win 2003 server:
When I try to import some project I get the following:
The import works fine if I create the repository on a local (ext3) filesystem.
I'm usning subversion 1.2.1 on FC2.
Anyone an idea what's happening?
---------------------------------------------------------------------
______________________________________________________________________
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.