[Top][All Lists]

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

Re: Problem with file permission when export && execute program when

From: rico
Subject: Re: Problem with file permission when export && execute program when
Date: Thu, 20 Jun 2002 01:01:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020412 Debian/0.9.9-6

Larry Jones wrote:

rico writes:

I wish to execute a program every time I commit a file (after I commit, not before). I see the -i option but it work only before commiting a file. In fact, every time I commit a modification in my repository, I wish to export it in another directory, and I don't know how to proceed.


hmmm, it's not corresponding to my question  :-/
maybe I don't explain my problem very well ... (sorry but I'm french)
In fact, I would like this command :
cvs -d <repository> export -D "1 second ago" -d <destination> <module>
every time I commit a modification (after I commit).

The second problem is about file permissions : when I export a file, "others" users can't read it, but I need this permission. I have tried to modify the user umask and the CVSUMASK, but it made no change :-(

When you export, CVS uses the permissions on the RCS files in the
repository as modified by your umask; if the RCS files don't have read
permission for other, the exported files won't either.  If you want
people to be able to read the exported files but not the repository
files, you'll have to change the permissions after exporting.

Thanks, that was actually the solution  ;-)

-Larry Jones

Wow, how existential can you get? -- Hobbes

reply via email to

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