| Summary: | CVS: consider file permissions on checkout and commit (1GK92JS) | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Jean-Michel Lemieux <jean-michel_lemieux> |
| Component: | Team | Assignee: | Michael Valenta <Michael.Valenta> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P5 | CC: | eclipse, hp |
| Version: | 2.0 | ||
| Target Milestone: | 2.0 M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jean-Michel Lemieux
PRODUCT VERSION: R1.0 We had this capability but I think it was removed over several refactorings. We'll need to have a look and add it back if it was removed. File permissions on commit are meaningless unless it is the first commit of an added file and then it is only the execute bit that matters. Since there is no way to get the executable bit in Eclipse, there is no way to know whether to send it or not. There is also no way to set it locally on checked out files. Committing over an already existing file will not change the permissions. Bottom line: If you need to checkout executables as executable, you have to use the command line client. This is a major bug on UNIX/Linux if you can't have the execute bit set on files in the repository. It's extremely common to have executable scripts (say, build scripts) in the repository, and they need to be executable. Many other IDEs (and the command line client) have this feature. As-is Eclipse just doesn't work for say a GNOME or KDE or Mozilla developer. You say "there is no way to get the execute bit in Eclipse" - but _that's the bug_, right? Just because it's hard to fix doesn't mean it's fixed, or that the bug is invalid. Eclipse is still buggy here, and in a significant way that keeps people from using it on Linux. While yes you can't change the execute bit post-import with CVS, it does need to be checked out correctly once it's imported, and the infrastructure/UI should be planning for future version control systems that aren't quite as braindead as CVS re: file permissions. I believe this bug should be reopened and addressed. If the file abstraction layer or whatever is relevant doesn't support execute bit handling, then it's not portable, and should be fixed. Reopening |