info-cvs
[Top][All Lists]
Advanced

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

file permission by using cvs watch and cvs edit mode


From: BERNARD GRANGER Fabrice 237671
Subject: file permission by using cvs watch and cvs edit mode
Date: Tue, 9 Apr 2013 07:23:52 +0000

Hello,

I am setting a CVS architecture for my development.
Multiple users should access (read and modification) to the same wordking 
directory.
So to prevent bad usage of files (anarchic modification or delete) I set the 
restriction by using cvs watch on and then cvs edit .
The behavior is fine, except the file permission modification.
Indeed the original file is 755 then after performing cvs watch on on it, after 
the first commit it becomes 550
Here are my commands
    76  8:40    touch toto
    78  8:46    chmod 755 toto   toto is 755
    80  8:47    cvs add toto
    82  8:47    cvs commit
    84  8:48    cvs status
    86  8:48    n toto
    87  8:48    cvs commit -m "add test line" toto
    89  8:49    cvs watch on toto
    92  8:50    cvs commit -m "test 2" toto
    93  8:50    l l toto is 550

My UMASK is 007.
I done another test with titi file with permission 775, the result is the same 
it become 550.
As my file should be executable for the groups, this is a problem for me.

Is this behavior is expected ?

Regards,


Fabrice

________________________________
Fabrice BERNARD-GRANGER, Ph.D
     Spintronic Design Flow Architect
               Spintec Lab
CEA - DSM / INAC
17 rue des Martyrs
38054 GRENOBLE Cedex 9


reply via email to

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