[
https://issues.jenkins-ci.org/browse/JENKINS-13161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=163689#comment-163689
]
SCM/JIRA link daemon commented on JENKINS-13161:
------------------------------------------------
Code changed in jenkins
User: Michael Clarke
Path:
src/main/java/org/netbeans/lib/cvsclient/file/DefaultFileHandler.java
http://jenkins-ci.org/commit/cvsclient/2f8c4d6920d3ab1cff59db67931fbcd8eb89c770
Log:
[FIXED JENKINS-13161] Setting file permission only after file write
> cvs plugin 2.x fails to update readonly checked out files
> ---------------------------------------------------------
>
> Key: JENKINS-13161
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13161
> Project: Jenkins
> Issue Type: Bug
> Components: cvs
> Environment: jenkins 1.456, cvs plugin 2.1, java 1.6.0-31
> Reporter: Alex Lehmann
> Assignee: Michael Clarke
> Priority: Minor
>
> I found a migration issue when switching from cvs-plugin 1.6 to 2.x.
> The regular cvs client support checking out all files readonly to facilitate
> cvs edit/unedit and watchers, apparently this is not supported by the
> netbeans cvsclient.
> If a job was checked out with the old version of the plugin (1.x), updating
> the workspace fails due to
> java.io.FileNotFoundException: some_filename (Permission denied)
> This is not a big issue since the file permissions can be changed with find,
> nevertheless maybe it is possible to change the file handling to change write
> permissions before trying to overwrite the files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira