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

Re: Read-only files in .svn causing problems w/ move + delete

From: Stephan Zeissler <stephan.zeissler_at_kuttig.com>
Date: 2005-08-23 10:51:55 CEST

Jacob C wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>That seems to have been the problem. Thanks. I didn't think that would be the cause since root, of course, can generally do whatever it wants to...
>
>
>
>Kalin KOZHUHAROV wrote:
>
>
>>Jacob C wrote:
>>
>>
>>
>>>Hello,
>>>
>>>For some reason whenever I add and commit a new directory to
>>>subversion it creates read-only files in the new .svn directory. For
>>>example, here is a
>>>listing of one particular .svn directory:
>>>
>>>[root@enigma-purple .svn]# uname -a
>>>Linux *********** 2.6.8.1-12mdksmp #1 SMP Fri Oct 1 11:24:45 CEST 2004
>>>i686 AMD Athlon(TM) MP 1900+ unknown GNU/Linux
>>>[root@enigma-purple .svn]# ls -la
>>>
>>>
>> ^^^^^^
>>
>>
>>
>>>total 5242880
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 .
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 ..
>>>-r--r--r-- 1 jacobc jacobc 0 Aug 22 17:50 empty-file
>>>-r--r--r-- 1 jacobc jacobc 348 Aug 22 17:52 entries
>>>-rwxr--r-- 1 jacobc jacobc 2 Aug 22 17:52 format
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 prop-base
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 props
>>>-r--r--r-- 1 jacobc jacobc 118 Aug 22 17:52 README.txt
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 text-base
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 tmp
>>>drwxr-xr-x 1 jacobc jacobc 0 Aug 22 17:50 wcprops
>>>
>>>
>> ^^^^^^^^^^^^^^
>>
>>I bet this (^^^) is the problem. Did you checkout as another user
>>(jacobc) and trying to work as root?
>>
>>Try to work with the same user on a working directory (seem to does not
>>matter whether on of them is root or not).
>>
>>Kalin.
>>
>>
>>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.4 (GNU/Linux)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iD8DBQFDCqAKxH//K8zMNc4RAtjZAJsEP7jDA00p/4tuSrNldCay8MImPgCaAywa
>IrnWfsuqI8nAKfyja5Eh3eQ=
>=zN7k
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>
Sure, it can modify the rights on every file. But if the rights say "DO
NOT WRITE TO THIS FILE", no programm does.
The root user is just allowed to modify every flag on file, but it does
not do this automatically if you try to write to a file.

Greetings,
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 23 10:56:38 2005

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.