|
From: Christoph R. <ch...@u-...> - 2006-04-07 17:06:35
|
Hello! I want to use svn on a remote machine where svn is not installed. So simple solution: mount via sshfs and use local svn. But it does not work because svn uses weired file permissions inside its .svn svn co svn+heft:///test/trunk . svn: Can't open file '.svn/empty-file': Permission denied ls -l .svn/empty-file -r--r--r-- 1 chris chris 0 Apr 7 16:23 .svn/empty-file So I created a workaround to force read/write permissions on all files. Using sshfs -o workaround=rename:umask makes svn going. chris sshfs -V SSHFS version 1.6 FUSE library version: 2.5.2 fusermount version: 2.5.2 using FUSE kernel interface version 7.5 uname -r 2.6.12-17mdk ps: debug output while svn is not working: [...] unique: 192, opcode: LOOKUP (1), nodeid: 10, insize: 48 LOOKUP /m/.svn/entries unique: 192, error: -2 (No such file or directory), outsize: 16 unique: 193, opcode: RENAME (12), nodeid: 16, insize: 64 RENAME /m/.svn/tmp/entries -> /m/.svn/entries unique: 193, error: 0 (Success), outsize: 16 unique: 194, opcode: GETATTR (3), nodeid: 25, insize: 40 unique: 194, error: 0 (Success), outsize: 112 unique: 195, opcode: SETATTR (4), nodeid: 25, insize: 128 unique: 195, error: 0 (Success), outsize: 112 unique: 196, opcode: LOOKUP (1), nodeid: 10, insize: 51 LOOKUP /m/.svn/empty-file unique: 196, error: -2 (No such file or directory), outsize: 16 unique: 197, opcode: MKNOD (8), nodeid: 10, insize: 59 MKNOD /m/.svn/empty-file NODEID: 22 unique: 197, error: 0 (Success), outsize: 136 unique: 198, opcode: OPEN (14), nodeid: 22, insize: 48 unique: 198, error: -13 (Permission denied), outsize: 16 unique: 199, opcode: LOOKUP (1), nodeid: 10, insize: 44 LOOKUP /m/.svn/log unique: 199, error: -2 (No such file or directory), outsize: 16 unique: 200, opcode: UNLINK (10), nodeid: 10, insize: 45 UNLINK /m/.svn/lock unique: 200, error: 0 (Success), outsize: 16 unique: 201, opcode: FORGET (2), nodeid: 24, insize: 48 FORGET 24/1 delete: 24 |