[Top][All Lists]

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

Re: cvs not ignoring permissions

From: Mark D. Baushke
Subject: Re: cvs not ignoring permissions
Date: Wed, 30 Jul 2003 14:28:17 -0700

Hi Paul,

Okay, I think I see the problem now.

Basically, when you do a commit an there is an keyword expansion that
needs to take place, the server needs to do a checkout of the file in
its copy of the repository on the server and then send that file back to
the client.

The problem is that your umask on the server is being used over what you
have on the client.

Here is code in server.c that mentions the problem:

            if (mode == (mode_t) -1)
                /* FIXME: When we check out files the umask of the
                   server (set in .bashrc if rsh is in use) affects
                   what mode we send, and it shouldn't.  */
                mode = sb.st_mode;

I am not sure of the correct fix for this problem at present.

For your environment, you could modify your .bashrc (or the rc file for
whatever shell you use) to do a 'umask 002' ... that would work around
the problem for now.

        Good luck,
        -- Mark

reply via email to

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