info-cvs
[Top][All Lists]
Advanced

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

RE: Help Required


From: Amit Sharma
Subject: RE: Help Required
Date: Mon, 3 Feb 2003 15:38:00 +0530

Permissions in the repository are correct but when checked out Permissions
get modified to 644 i.e execute permissions get removed


regards,
Amit


-----Original Message-----
From: address@hidden [mailto:address@hidden
Sent: Thursday, January 30, 2003 8:50 PM
To: address@hidden
Cc: address@hidden
Subject: Re: Help Required


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]