Retaining execute permissions on scripts.

2002-07-22 Thread James Hughes

Hi all,

I have some shell scripts that are executed from the working directory 
of one of the users in our system (Call it 'user X'). The problem I am 
having is that, if the scripts are modified and user X updates, the 
execute permissions are gone.
CVSREAD is set, but I thought it would only affect write permissions.
Is there a way to prevent this behaviour, short of wrapping 'cvs update' 
for user X in a script that will 'chmod +x' these scripts each time an 
update is performed?

Thanks in advance for any insight.

-- 
James Hughes
Esponsive Communications
613-549-3708 ext. 237



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



Re: Retaining execute permissions on scripts.

2002-07-22 Thread Noel Yap

--- James Hughes <[EMAIL PROTECTED]> wrote:
> I have some shell scripts that are executed from the
> working directory 
> of one of the users in our system (Call it 'user
> X'). The problem I am 
> having is that, if the scripts are modified and user
> X updates, the 
> execute permissions are gone.
> CVSREAD is set, but I thought it would only affect
> write permissions.
> Is there a way to prevent this behaviour, short of
> wrapping 'cvs update' 
> for user X in a script that will 'chmod +x' these
> scripts each time an 
> update is performed?

Make sure that the archive file permissions have the
execute bit set and that the users' umask doesn't mask
it out.

HTH,
Noel

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs