Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I add execute permission to a file in CVS after it's already been checked in?

Tags:

cvs

We use CVS on Linux for software development.

I noticed that one of the scripts I'm working on is missing the execute bit set in the CVS repository.

Is there any way to add the execute bit back to the file?

I think it involves modifying the repository directly, but I don't know how to do this.

like image 282
Jin Kim Avatar asked Apr 02 '09 16:04

Jin Kim


People also ask

How do I give permission to execution a file?

Three, what permission; read (r), write (w) and/or execute (x). To add world read and execute permission to a file using the symbolic mode you would type chmod o+rx [filename]. To remove world read permission from a file you would type chmod o-r [filename].

How do you allow write and execute permission to the owner of a file?

To change file and directory permissions, use the command chmod (change mode). The owner of a file can change the permissions for user ( u ), group ( g ), or others ( o ) by adding ( + ) or subtracting ( - ) the read, write, and execute permissions.

How do I update files in CVS?

Copy a new file to be added to CVS into the checked out area. Go back up to the directory from which the checkout was made, in order to do the update verification and commit. Merge in updates that other developers have done to your local copy of package/aida. Make aida.

What does execute permission on a file mean?

The execute permission grants the ability to execute a file. This permission must be set for executable programs, in order to allow the operating system to run them.


1 Answers

Modify the permissions of the related ,v file in the repository. Per this article, the file is checked out with the same permissions as the ,v file in CVSROOT.

like image 175
Alex B Avatar answered Oct 05 '22 13:10

Alex B