http://tortoisesvn.tigris.org/faq.html#samba I think this applies to
the regular svn client as well.
On Fri, Nov 27, 2009 at 6:05 AM, Michal Jurosz <rootmj_konf_at_seznam.cz> wrote:
> Hi. My guess: Committing binary file (from Windows on Samba disk) create
> temp file inside .svn/props with bad permission (no write access for
> user). Should I report this as bug?
>
> # --------------------------------------------------------------------
> # Commiting binary file on network/Samba disk - bad file permission
> inside .svn/props.
> # Commiting text files is ok. So probably no Samba config problem.
> # Probably very old regression (from 1.4?). Samba config wasn't changed
> since it works.
>
> # W:\ is Linux Samba disk mouted as network drive to WinXP
>
> # on WinXP client
>
> W:\>cd test-repository
> W:\test-repository>echo text content > favicon.txt
> W:\test-repository>svn add favicon.txt
> A favicon.txt
>
> W:\test-repository>svn ci -m"text file is ok" favicon.txt
> Adding favicon.txt
> Transmitting file data .
> Committed revision 99.
>
> W:\test-repository>
>
> W:\test-repository>svn add favicon.ico
> A (bin) favicon.ico
>
> W:\test-repository>svn ci favicon.ico -m"image (binary file)"
> Adding (bin) favicon.ico
> Transmitting file data .svn: Commit succeeded, but other errors follow:
> svn: Error bumping revisions post-commit (details follow):
> svn: In directory 'W:\test-repository'
> svn: Error processing command 'committed' in 'W:\test-repository'
> svn: Can't move 'W:\test-repository\.svn\props\favicon.ico.svn-work' to
> 'W:\test-repository\.svn\prop-base\favicon.ico.svn-base': Access denied.
>
> W:\test-repository>svn cleanup
> svn: In directory '.'
> svn: Error processing command 'committed' in '.'
> svn: Can't move '.svn\props\favicon.ico.svn-work' to
> '.svn\prop-base\favicon.ico.svn-base': Access denied.
>
>
> # on Linux (Samba) server
>
> [root_at_ent data]# cd test-repository/
>
> [root_at_ent test-repository]# ls -al .svn/props/favicon.ico.svn-work
> -r-xr--r-- 1 vyvoj vyvoj 53 Aug 19 12:28 .svn/props/favicon.ico.svn-work
>
> [root_at_ent test-repository]# chmod u+w .svn/props/favicon.ico.svn-work
>
>
> # on WinXP client
>
> W:\test-repository>svn cleanup
> W:\test-repository>
>
> # --------------------------------------------------------------------
>
> # Bypass ("Solution")
> # Add 'force create mode = 0664' to Samba config
> # Run 'service smb restart'
>
> W:\test-repository>svn add favicon.ico
> A (bin) favicon.ico
>
> W:\test-repository>svn ci favicon.ico -m"image (binary file)"
> Adding (bin) favicon.ico
> Transmitting file data .
> Committed revision 104.
>
> --
> S pozdravem Michal Jurosz
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2424830
>
> Please start new threads on the <users_at_subversion.apache.org> mailing list.
> To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2424864
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-27 16:09:37 CET