info-cvs
[Top][All Lists]
Advanced

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

Re: cvs commit: cannot change mode of file upload.php3: Operation


From: Larry Jones
Subject: Re: cvs commit: cannot change mode of file upload.php3: Operation
Date: Thu, 29 Mar 2001 17:25:59 -0500 (EST)

Brian Hughes writes:
> 
> /usr/local/cvsrepos/leda/httpd/deposit/upload.php3,v  <--  upload.php3
> new revision: 1.3; previous revision: 1.2
> done
> cvs commit: cannot change mode of file upload.php3: Operation not permitted
> cvs commit: cannot change mode of file upload.php3: Operation not permitted
> 
> when I commit upload.php3 (and the commit itself works).
> 
> The file permissions are
> 
> -rwxrwxr-x    1 root     Leda         4854 Mar 29 16:14 upload.php3
> 
> I am not root, but I belong to the Leda group and the cvs group.

It doesn't matter that you're in the group, only the owner of a file is
allowed to change its permissions.  What's happening is that commit is
doing a checkout after the commit in order to update any keywords in the
file.  Despite the fact that CVS no longer uses external RCS commands,
the internal RCS library works the same way as RCS and thus tries to
remove the write permissions from the checked-out file, which causes the
first message.  CVS then tries to add write permissions to the file,
which causes the second message.

-Larry Jones

We don't ATTEND parties, we just CRASH 'em. -- Calvin



reply via email to

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