[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: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-23 11:48:51 CEST

On 23.08.2005, at 10:51, Stephan Zeissler wrote:

>>>> [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).
>>
>> 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...
>
> 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.

And yet, if you work as user jacobc, even though the permissions say
not to write to the files, it can, and it does. Why is that the case
for a normal user but not for root?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 23 11:51:18 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.