|
From: Mojca M. <moj...@gm...> - 2011-02-18 09:13:27
|
2011/2/17 Hans-Bernhard Bröker wrote:
> On 17.02.2011 12:18, Mojca Miklavec wrote:
>
>> But all the following files (in root tree) do have the executable bit set:
>
> ... by luck, as of today. That can change any time, without anybody quite
> knowing why.
My guess is that when a file becomes executable somebody must have
changed the executable bit on the server (executable bits of new files
that are added to repository match the executable bit of original
file, but if it is changed later on the client side, that change won't
proliferate to server).
I'm not talking about whether it works or not in any given client on
any given OS, but what I observe when I check out CVS is 100%
consistent with what's in original CVS repository (the following files
are from January, not the latest ones, but there is not much
difference):
-rw-rw-r-- 1 user group 23K 11 sep 23:35 README,v
-rw-rw-r-- 1 user group 15K 11 sep 23:35 README.1ST,v
-rw-rw-r-- 1 user group 34K 6 okt 02:52 TODO,v
-rw-rw-r-- 1 user group 5,5K 11 sep 23:35 VERSION,v
drwxrwsr-x 3 user group 102B 17 jan 03:31 beos
drwxrwsr-x 37 user group 1,2K 17 jan 04:55 config
-rwxrwxr-x 1 user group 332K 14 nov 01:06 configure.in,v
-r-xrwxr-x 1 user group 26K 11 sep 23:35 configure.vms,v
drwxrwsr-x 171 user group 5,7K 17 jan 04:55 demo
-r-xrwxr-x 1 user group 19K 11 sep 23:35 depcomp,v
drwxrwsr-x 38 user group 1,3K 17 jan 04:55 docs
-rwxrwxr-x 1 user group 33K 11 sep 23:35 install-sh,v
drwxrwsr-x 20 user group 680B 17 jan 04:54 lisp
drwxrwsr-x 12 user group 408B 17 jan 04:21 m4
drwxrwsr-x 8 user group 272B 17 jan 04:38 man
-rw-rw-r-- 1 user group 35K 11 sep 23:35 missing,v
-rwxrwxr-x 1 user group 16K 11 sep 23:35 mkinstalldirs,v
drwxrwsr-x 3 user group 102B 17 jan 03:22 os2
drwxrwsr-x 7 user group 238B 17 jan 03:57 pm3d
-r-xrwxr-x 1 user group 5,4K 11 sep 23:35 prepare,v
drwxrwsr-x 6 user group 204B 17 jan 04:49 share
drwxrwsr-x 139 user group 4,6K 17 jan 04:56 src
-rw-rw-r-- 1 user group 5,5K 11 sep 23:35 stamp-h.in,v
drwxrwsr-x 86 user group 2,9K 17 jan 04:55 term
drwxrwsr-x 19 user group 646B 17 jan 04:53 tutorial
drwxrwsr-x 3 user group 102B 17 jan 03:51 win
>> configure.in
>
> And guess what: that's wrong. configure.in is not supposed to be
> executable.
But than you need to tell that the server, not the client:
-rwxrwxr-x 1 user group 332K 14 nov 01:06 configure.in,v
The executable bit is present in original repository as well. I guess
that if one changes it on the server, it will also ceise to be
executable on clients. (At least on fresh checkouts ...)
Maybe CVS is not capable of tracking when the executable bit has
changed, but in this particual case I don't think that it really
matters.
Mojca
|