Closed Bug 369287 Opened 17 years ago Closed 16 years ago

a few thousand files in repository have unnecessary execute permissions

Categories

(mozilla.org :: CVS: Administration, task, P3)

PowerPC
macOS

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ray, Unassigned)

References

Details

This is not a huge problem, but it is something that is very easily prevented and can be a source of security problems. And it looks sloppy.

Checking out various products from the CVS repository gives you about 20000-ish files that have execute permissions. They end in ".js", ".cpp", ".h", ".png", and so on.

I can generate the list and attach it if desired, but lots of people can write the 2 line shell script to generate it.
FYI, this is on an intel mac with 10.4.8.
Hardware: PC → Macintosh
Assignee: nobody → server-ops
Component: General → CVS: Administration
Product: Core → mozilla.org
QA Contact: general → justin
Version: Trunk → other
This is a side effect of people committing from Windows boxes, which have no concept of file permissions.  I think it's a lost cause to try to fix it, because they'll just come back.  But I'm just guessing wildly, the build guys might know better.
I would agree, except that on the one hand, a nightly script could fix it, or at least make it so that the files do not stay in this condition.

Also, assuming we are moving to version control system that allows pre-commit hooks, this is a minor thing that can be done in a pr-commit hook.
Re-assigning to build for a repo decision...
Assignee: server-ops → build
Assigning priority. Needs more investigation, look into CVSMASK.
Priority: -- → P3
(In reply to comment #2)
> This is a side effect of people committing from Windows boxes, which have no
> concept of file permissions.  I think it's a lost cause to try to fix it,
> because they'll just come back.  But I'm just guessing wildly, the build guys
> might know better.

I agree, unless it's causing a problem (or we can reasonably anticipate one) we should WONTFIX. Should not be a security concern for the final bits, they can be corrected during packaging.

It does look sloppy, but this is not a problem for other version control systems, it's yet another quirk of CVS and I don't think we should invest time in fixing this and keeping it fixed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.