[Top][All Lists]

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

Re: Help Required

From: Larry Jones
Subject: Re: Help Required
Date: Thu, 30 Jan 2003 10:20:29 -0500 (EST)

Amit Sharma writes:
>       On MAC OS X if we check in a binary file(Apple script executable) in
> CVS.and then remove the file from our local HDD.If we get the same
> executable  from CVS again and try to run it IT DOESN NOT WORK.since it does
> not have execute permission flag on. Does it Mean CVS does not preseve the
> permissions. 

No.  When CVS creates a new file in the repository (the very first time
you commit), it sets the repository file's execute permissions to match
the working file's execute permissions.  When you check a file out, CVS
copies the execute permissions from the repository file to the working
file.  So, if it's not working, then either the file wasn't executable
the very first time you committed it or there's something wrong with
CVS's OS X support.  Check the permissions on the repository file -- if
it isn't executable, try making it executable and then checking it out. 

-Larry Jones

Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. -- Calvin

reply via email to

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