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>:
>
> 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:
> svnadmin create -fs-type fsfs /mnt/smbshare/repos
>
> When I try to import some project I get the following:
> svn import . file:///mnt/smbshare/repos --message "Initial import"
> svn Can't read file '/mnt/smbshare/repos/db/transactions/0-1.txn/props':
> Permission denied
>
> 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?
> Sander.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
Received on Wed Sep 28 17:31:46 2005