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

Re: Working copy dir can't be on FAT32 partition?

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-08-16 10:28:20 CEST

On Tuesday 15 August 2006 21:40, Mike wrote:
> Hello, I'm trying to check out my project directory into a working
> directory that is on a FAT32 partition. (I have subversion running
> in linux).

From the discription below, I get that you have a FAT32 mounted on a Linux
system, right? Otherwise, of course FAT32 is supported, but possibly only
under win32 OSs.

> The error I get is:
>
> svn: Can't set file '/mnt/winE/_pro42/pro42/.svn/entries' read-only:
> Operation not permitted.
>
> It seems to have created all of the .svn directory, it just bailed
> out when it couldn't set permissions.

You could analyse this further by running it under 'strace'.

Anyhow, my guess is that it simply doesn't work. The problem is that there is
no place on FAT32 to store the basic Unix file permissions. SVN (or possibly
rather APR) tries and fails, aborting the whole. It might be possible to
change Subversion to only issue a warning (as long as what it did was really
non-fatal). Otherwise, I seem to remember that there was a way to mount FAT
FSs in a mode that stored the Unix file attributes somewhere in a hidden file
or somesuch, thus allowing it to work. See the 'mount' command's manpage.

> It seems to me, the read-only setting bit should be optional, as it
> isn't necessary. That's probably all you'd need to do to support
> fat32 working dirs.

Hmmm, seems we reached the same conclusion.

Uli

****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer.

E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences.
****************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 16 10:29:55 2006

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.