Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm having a bit of trouble trying to commit changes to SVN that are on a mapped drive - the drive is mapped to a Samba share on a Ubuntu (9.04) server.

Here's the error I'm getting:

TortoiseSVN Commit error

I have full read and write permissions on the Samba share:

  • I can modify the file
  • I can clear out the whole directory and do a clean CheckOut from the repository

Here are the relevant settings in smb.conf:

[global]
    workgroup = WORKGROUP
    security = user
    map to guest = bad user
    guest account = *******  (standard user)
    usershare allow guests = yes

[theshare]
    comment = Share Comment
    path = /var/www/theshare (permissions: drwxrwxrwx)
    browsable = yes
    read only = no
    guest only = yes
    guest ok = yes

I've searched Google but haven't had any joy picking the right search terms to get any suitable results.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Looks like repositories checked out onto mapped drives aren't recommended:

From http://old.nabble.com/Log-entry-missing-%27name%27-attribute-td25657118.html..

The manuals explicitly warn against using network shares for working copies. Especially because of these kind of possible errors.

oh well!



EDIT - RESOLVED!

On further investigation, this looks like it could be a bug with using a working copy located on the root of a drive..

I moved the share up a level, and re-mapped the drive so it contains a single directory, which holds the working copy and commits now work!

Hope that saves you some time :o)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.