Menu

#842 CVS Commit set local file to read-only

gCvs
closed-invalid
gCvs (98)
5
2005-01-17
2005-01-12
awood
No

When I commit a file to a repository, gCVS sets the
file so that it is read-only.

I committed a file with the permissions set to 0777 and
after the commit the permissions were 0555.

Committing files with command-line cvs or through
Cervisia works correctly.

I am using gCVS 1.0 on Red Hat Enterprise Linux 3 AS.
My kernel is 2.4.21-20.0.1.ELsmp.

Oddly, this is a fairly recent problem. gCVS had
worked fine for me before. I do update my system
frequently, however.

Discussion

  • Jerzy Kaczorowski

    • status: open --> pending-invalid
     
  • Jerzy Kaczorowski

    Logged In: YES
    user_id=119527

    The read-only flag is ofter set by CVS binary itself in certain
    conditions - like having a watches set. Please refer to your
    CVS binary manual and support lists to find out the cause.

     
  • awood

    awood - 2005-01-17
    • status: pending-invalid --> open-invalid
     
  • awood

    awood - 2005-01-17

    Logged In: YES
    user_id=1195893

    I don't think it's CVS in this case. I commited a
    read/write file with gCVS and afterwards the read-only flag
    had been set. I set the file back to read/write, made a
    change, and commited it through command line CVS.
    Command-line CVS did not change the permissions that I had set.

     
  • Karl-Heinz

    Karl-Heinz - 2005-01-17

    Logged In: YES
    user_id=299442

    Perhaps the 'Checkout read-only' flag is activated. You can
    find this in the 'CvsSettings' dialog at register 'Globals'

     
  • Karl-Heinz

    Karl-Heinz - 2005-01-17
    • status: open-invalid --> pending-invalid
     
  • awood

    awood - 2005-01-17

    Logged In: YES
    user_id=1195893

    Ah, that was it. I didn't know about the checkout read-only
    box. But I also don't know that I ever checked that box.
    But for me, this issue is closed. Thanks for your help!

     
  • awood

    awood - 2005-01-17
    • status: pending-invalid --> open-invalid
     
  • Jerzy Kaczorowski

    • status: open-invalid --> closed-invalid
     

Log in to post a comment.