info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange permissions of files in cvs repository


From: Eric Meijer
Subject: Strange permissions of files in cvs repository
Date: Wed, 03 Oct 2007 21:44:30 +0200
User-agent: Icedove 1.5.0.12 (X11/20070607)

Hello,

I have a cvs repository (version 1.12.13) on my debian linux box, since quite a while. At some point, files got strange permissions. Certain source files (C++ .cc and .h files) have executable bits or sticky bits set, while others don't:

ls -l output:
-rwxr-sr-x  1 eric eric  9208 Dec 23  2003 inputmath.cc
-rwxr-xr-x  1 eric eric   317 Feb  5  2004 readops.h
-rw-r--r--  1 eric eric  5575 Jan 27  2007 pointfunction.cc

Here the permissions of pointfunction.cc are what I would expect. Does anyone have any idea how this may have happened? Do those permissions mean anything to the repository?

In the repository the same files look like this:

ls -l output:
-rwxrwsr-x 1 eric src 10460 Dec 23  2003 inputmath.cc,v
-rwxrwxr-x 1 eric src   919 Feb  5  2004 readops.h,v
-r--r--r-- 1 eric src  5749 Jan 27  2007 pointfunction.cc,v

It doesn't really do any dammage, but it annoys me, and it feels like something is wrong with the repository. If I reset the permissions to a sane value before committing, the weird permissions come back after the commit. Can I just do

find . -type f -exec chmod 444 \{\} \;

on the repository and be done with it?

Kind regards,
Eric Meijer


reply via email to

[Prev in Thread] Current Thread [Next in Thread]