Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] bugzilla 24724: permission bits

Bug 24724 is pretty important to us.  We expect some of our users
(particularly those inside the company) will try Eclipse on their
favorite free software project, and immediately run into difficulty
because, e.g., `configure' will lose the executable bit on checkout.

I've implemented a fix for this bug.  However, I've done it in a
fairly ad hoc way.  I added a couple new native methods to
org.ecipse.team.internal.ccvs.core.util.Util -- one to fetch the
permissions of a file and another to set the permissions.  Then I
found workable spots in the source to call these methods.

Is this an ok approach?  I looked at putting new methods into IFile
and building a more abstract and general API for file permissions, but
that seemed like a complicated way to fix a local problem.

Are these patches interesting to you?  If so, I'll upload them into
the PR.

Tom


Back to the top