info-cvs
[Top][All Lists]
Advanced

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

Re: cvs edit: cannot chdir(/var/spool/mqueue): Permission denied


From: Frank Thrum
Subject: Re: cvs edit: cannot chdir(/var/spool/mqueue): Permission denied
Date: Thu, 04 Oct 2001 13:35:13 +0200

Hi,
I found the reason:
The command syntax, given in the file notify( the commented in line ), is
wrong.
Even  in the book "CVS - kurz & gut" by G. N. Purdy, O'Reilly 2001, is
contained this error.
If I create with 'cvs init' the CVSROOT administrative files, the line in
notify is wrong.

I tried on the command line:

address@hidden(23)%echo "" | /usr/ucb/mail fth -s "CVS notification"
cannot chdir(/var/spool/mqueue): Permission denied
address@hidden (24)% echo "" | mail fth -s "CVS notification"
mail: Options MUST PRECEDE persons
address@hidden (25)% echo "" | mail -s "CVS notification" fth
address@hidden (26)% echo "" | /usr/ucb/mail -s "CVS notification" fth
address@hidden (27)%

Thus the command line in the virgin file 'notify' has wrong syntax. %s
means the recipient, and should be given as the last argument.
Insted of
    ALL /usr/ucb/mail %s -s "CVS notification"
it should read like
    ALL /usr/ucb/mail  -s "CVS notification" %s

Now notification works fine.

Frank


Frank Thrum wrote:

> hi,
> we want to use the functionality cvs watch, edit, unedit.
> I have an entry in $CVSROOT/CVSROOT/notify:
>
>   ALL /usr/ucb/mail %s -s "CVS notification"
>
> I have set up watches for the files ( others too ) , and 'cvs watchers'
> gives the right answer.
>
> when  I do however a 'cvs edit <filename>, I get an error message
>   %cvs edit c13n.drc
>   cannot chdir(/var/spool/mqueue): Permission denied
>
> the same entry in the file $CVSROOT/CVSROOT/loginfo works without
> problems.
> That's why I cannot understand the different behaviour of the mail
> action in the files notify and loginfo.
>
> I use cvs  1.11.1p1.
>
> Frank
>
> address@hidden



reply via email to

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