This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 245845 - 3: Permission denied
Summary: 3: Permission denied
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-21 13:23 UTC by Dexy86
Modified: 2014-07-24 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 210803


Attachments
stacktrace (1.20 KB, text/plain)
2014-07-21 13:23 UTC, Dexy86
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dexy86 2014-07-21 13:23:39 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_65-b17
OS: Linux

User Comments:
dexy86: i have made a 	ssh connection over netbeans terminal and it crashed




Stacktrace: 
3: Permission denied
   at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2629)
   at com.jcraft.jsch.ChannelSftp.mkdir(ChannelSftp.java:2035)
   at org.netbeans.modules.nativeexecution.api.util.HelperUtility.getPath(HelperUtility.java:193)
   at org.netbeans.modules.nativeexecution.api.util.HelperUtility.getPath(HelperUtility.java:101)
   at org.netbeans.modules.nativeexecution.NbNativeProcess.<init>(NbNativeProcess.java:81)
   at org.netbeans.modules.nativeexecution.NbRemoteNativeProcess.<init>(NbRemoteNativeProcess.java:57)
Comment 1 Dexy86 2014-07-21 13:23:41 UTC
Created attachment 148178 [details]
stacktrace
Comment 2 soldatov 2014-07-21 13:30:20 UTC
log (http://statistics.netbeans.org/exceptions/messageslog?id=731128) contains workaround (I think)
WARNING [nativeexecution.support.logger]: [91058 ms.] Failed to upload pty
WARNING [nativeexecution.support.logger]: [91058 ms.] File /var/tmp/586608971/pty doesnt exist, and cannot be uploaded. Do you have enough privileges?
WARNING [nativeexecution.support.logger]: [91058 ms.] You could try to use -J-Dcnd.tmpbase=<other base location> to re-define default one.
SEVERE [org.openide.util.Exceptions]
3: Permission denied
Comment 3 Vladimir Kvashin 2014-07-22 20:25:09 UTC
The reason is that /var/tmp is not writable on your remote hostFixed inhttp://hg.netbeans.org/cnd-main/rev/75a24c81d466
Comment 4 Quality Engineering 2014-07-24 02:40:27 UTC
Integrated into 'main-silver', will be available in build *201407240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/75a24c81d466
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixing #245845 - 3: Permission denied