[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Issue?] Can't commit to a local repository on a mounted windows filesystem under linux

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-06-21 19:34:10 CEST

On Wed, 20 Jun 2007, Martin Scharrer wrote:

> I had the following issue today on my dual-boot machine.
> It seems that the linux svn client can't commit to a local (file://)
> repository which lies on a mounted
> Windows file system (it's NTFS mounted rw with ntfs-3g in my case). That's
> because it can't
> chmod a file.
> I'm using svn version 1.4.4 (r25188) with FSFS under Linux. On windows it's
> still 1.4.3.
>
> I get the following error:
> ----------------------------------------------------------------------------------------------------
> Sending file
> Transmitting file data .svn: Commit failed (details follow):
> svn: Can't chmod '/windows/D/rep/db/transactions/64-1.txn/rev': Operation
> not permitted
> svn: Your commit message was left in a temporary file:
> svn: '/my/wd/svn-commit.tmp'
> ----------------------------------------------------------------------------------------------------
> mount says:
> /dev/hda2 on /windows/D type fuseblk
> (rw,nosuid,nodev,noatime,allow_other,default_permissions,blksize=4096)
>
> My work-around solution was to copy the rep to the Linux drive, relocate the
> wd, commit and
> copy the rep back.
>
> Can this be fixed, i.e. maybe ignore the chmod error on windows filesystems?

Subversion doesn't -- and shouldn't -- have any knowledge of your
mounted file system type.

Why is the chmod failing in the first place? Worst case, seems like
it should be a no-op.

  • application/pgp-signature attachment: stored
Received on Thu Jun 21 19:34:51 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.