[jbosstools-issues] [JBoss JIRA] (JBIDE-10061) keys created within the wizard have to be corrected in terms of read-/write-permissions so that they can be used in ssh-add
Max Rydahl Andersen (Commented) (JIRA)
jira-events at lists.jboss.org
Thu Nov 10 06:31:45 EST 2011
[ https://issues.jboss.org/browse/JBIDE-10061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641705#comment-12641705 ]
Max Rydahl Andersen commented on JBIDE-10061:
---------------------------------------------
File f = ...
// set f permission to correspond to 'chmod 0600' read/write only for user
// First clear all permissions for both user and others
f.setReadable(false, false);
f.setWritable(false, false);
// Enable only readable for user
f.setReadable(true, true);
f.setWritable(true, true);
If you do the above in a different sequence you don't end up with chmod 0600.
> keys created within the wizard have to be corrected in terms of read-/write-permissions so that they can be used in ssh-add
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-10061
> URL: https://issues.jboss.org/browse/JBIDE-10061
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 3.3.0.M4
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Fix For: 3.3.0.Beta1
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list