[jira] [Commented] (NETBEANS-1338) Cannot run program "/tmp/1867006118/pty": error 13, Permission denied

2018-10-03 Thread John Stevenson (JIRA)


[ 
https://issues.apache.org/jira/browse/NETBEANS-1338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16637015#comment-16637015
 ] 

John Stevenson commented on NETBEANS-1338:
--

I noticed an error on Netbeans startup that I had not noticed before.  It 
offered to use -J -Dcnd.tmpbase in the netbeans.conf file to reset the tmp 
directory to a location with permissions.  I moved the location but chmod still 
has to be set to 777 for this new location so all users and groups can access 
the directory.  Test by logging off root and logging in as a standard user.  
The original tmp directory cannot be set to 777 due to security so that must be 
the problem.

> Cannot run program "/tmp/1867006118/pty": error 13, Permission denied
> -
>
> Key: NETBEANS-1338
> URL: https://issues.apache.org/jira/browse/NETBEANS-1338
> Project: NetBeans
>  Issue Type: Bug
>Affects Versions: 8.2
>Reporter: John Stevenson
>Priority: Critical
>
> Recently loaded Netbeans with C++ on Linux Redhat 7.4.  I created a Hello 
> world application and attempted to build the app with no changes to the 
> generated code.  The following appears in the build window:
> cd '/root/NetBeansProjects/HelloWorld'
> /usr/bin/gmake -f Makefile CONF=Debug
> Cannot run program "/tmp/1867006118/pty": error=13, Permission denied.
>  
> Currently, I am running this as root.  I have tried chmod on the file to no 
> avail.  Have removed sticky bit on tmp directory.  Have tested on several 
> machines and all behave similarly.  Machines have been hardened for security. 
>  The /tmp directory is mounted to /var/tmp in the /etc/fstab file.    
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Created] (NETBEANS-1338) Cannot run program "/tmp/1867006118/pty": error 13, Permission denied

2018-10-02 Thread John Stevenson (JIRA)
John Stevenson created NETBEANS-1338:


 Summary: Cannot run program "/tmp/1867006118/pty": error 13, 
Permission denied
 Key: NETBEANS-1338
 URL: https://issues.apache.org/jira/browse/NETBEANS-1338
 Project: NetBeans
  Issue Type: Bug
Affects Versions: 8.2
Reporter: John Stevenson


Recently loaded Netbeans with C++ on Linux Redhat 7.4.  I created a Hello world 
application and attempted to build the app with no changes to the generated 
code.  The following appears in the build window:

cd '/root/NetBeansProjects/HelloWorld'

/usr/bin/gmake -f Makefile CONF=Debug

Cannot run program "/tmp/1867006118/pty": error=13, Permission denied.

 

Currently, I am running this as root.  I have tried chmod on the file to no 
avail.  Have removed sticky bit on tmp directory.  Have tested on several 
machines and all behave similarly.  Machines have been hardened for security.  
The /tmp directory is mounted to /var/tmp in the /etc/fstab file.    

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists