This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 22720 - Unable to cvs edit my own projects files.
Summary: Unable to cvs edit my own projects files.
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: support
URL:
Keywords:
Depends on:
Blocks: 22015
  Show dependency tree
 
Reported: 2002-04-23 19:21 UTC by Michael Ottati
Modified: 2009-11-08 02:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ottati 2002-04-23 19:21:06 UTC
Can not do a cvs edit of a file that I am supposed to be a 
developer for.

I am supposed to be a content developer for the 
classclosure project. I receive the following error when 
attempting to edit a file.

$ cvs -d :pserver:ottati@cvs.netbeans.org:/cvs edit 
l10n.list
User ottati doesnt have <Edit> access to project 
classclosure

This is P2 because I have to fix a P2 bug (22015)
Comment 1 jcatchpoole 2002-04-24 12:13:02 UTC
Content Developer actually means "website content" 
developer, ie you should be able to modify anything under 
classclosure/www/, so that role would not give you the 
correct permissions to modify for eg /l10n.list.  However,
you also appear to be Project Owner for classclosure, 
which means you ought to be able to modify everything in 
the module, so I'm not sure what is going on.

It is possible that the "edit" command is simply not 
implemented in SourceCast - AFAIK you can do the same with
"chmod ug+w l10n.list" - Pls try this, and then check if 
you can modify and commit the file.
Comment 2 rbalada 2002-04-24 13:29:35 UTC
I agree with Jack. 

Command `cvs edit` can be substituted with `chmod ug+w` on the files
you want to change.
Comment 3 Michael Ottati 2002-04-24 18:35:48 UTC
A couple of points.

1:  chmod does not exist on all machines that support CVS. 
You have  therefore suggested a platform specific work 
around.

2:  On those platforms that do support chmod, the effects 
of edit are a superset of chmod. Edit registers usage 
information on the server so as to better enable the 
concurrent development for which CVS is named.

The CVS edit command is a commonly used feature of CVS. If 
it does not work (or is not supported), this fact should 
be well documented and the error message should be changed 
to accurately reflect this deficiency.

I have dropped the priority down to 3 for this given that 
it no longer appears that it no longer appears to be a 
blocking issue to check in.
Comment 4 jcatchpoole 2002-04-25 12:44:41 UTC
> You have  therefore suggested a platform specific work 
> around.

I'm not suggesting a workaround at all.  I'm suggesting a 
method of testing what the real problem is here, and what 
this issue should address.

If you are able to modify/commit, then it would appear that
the cvs edit command is not supported.  If that is true,
this issue summary should be updated to reflect this, and 
I will assign it to Collab so they can investigate and 
evaluate what to do about it.

If you are not able to modify/commit, then it would appear
there is a problem with SourceCast's roles/permissions.  In
that case we ought to do more testing, tweaking your given
roles etc.

Does your last comment :

> it no longer appears that it no longer appears to be a 
> blocking issue to check in.

mean that you are able to check in ?  Please confirm.

Thanks.
Comment 5 Michael Ottati 2002-05-17 05:46:04 UTC
I could have sworn that I have entered this information 
before. 

I confirm that I am able to check into CVS. I thought I 
addede this comment a long time ago, must not have 
commited it or I am just getting senile. 

In any event YES, I can do cvs commit's to data that I 
should be able to do that with. 
Comment 6 jcatchpoole 2002-05-17 12:51:46 UTC
OK, so it looks like either there is something 
specifically wrong with the CVS edit command, or it is 
simply not supported in SourceCast.

Assigning to Collab.
Comment 7 Taska 2002-05-17 19:40:53 UTC
It may be that we have not implemented this.  We'll take a look.
Comment 8 kat 2002-05-28 21:53:59 UTC
I have added the Version control-Edit permission to the Project Owner,
Developer, and Content Developer roles through the Administer Roles
interface. It is not present by default, you should now be able to
edit files.
Comment 9 Unknown 2006-09-13 00:43:13 UTC
Marking this as verified, adding Version control-Edit permission to the Project
Owner resolved the issue.

Thanks,
Kavitha
Support operations
Comment 10 Marian Mirilovic 2009-11-08 02:30:04 UTC
We recently moved out from Collabnet's infrastructure