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 162888

Summary: permission denied
Product: platform Reporter: o2badad <o2badad>
Component: TextAssignee: mslama <mslama>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jtulach, pflaska
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: log

Description o2badad 2009-04-17 01:11:34 UTC
I am developing modules using your PHP version of NetBeans with SugarCRM.  Apache2, PHP5, MYSQL on Ubuntu 8.10.  When
Sugar processes files, it changes the file permissions.  NetBeans scans the directory( I assume for Tasks) and a billion
popups come up saying Error and Warning  file... Permission Denied.  I have to click OK on every popup or kill the java
process running NetBeans.  My work around is to 777 the project folder before returning to NetBeans.  I would like
NetBeans to just ignore the errors and warnings when scanning for tasks.  If that is the case.
Comment 1 Stanislav Aubrecht 2009-04-17 14:50:10 UTC
please attach your ide log file, thanks
Comment 2 Stanislav Aubrecht 2009-04-21 07:46:39 UTC
Created attachment 80561 [details]
log
Comment 3 Stanislav Aubrecht 2009-04-21 07:47:41 UTC
i've attached log file provider by submitter, looks like a problem in dataeditorsupport
Comment 4 mslama 2009-04-21 14:13:55 UTC
It is by design. Currently IDE performs automatic refresh of filesystem when it gets focus. So there is no other way.
There is plan to perform refresh only on explicit user request to avoid such unneeded refreshes.

Jarda I see that issue #158177 is marked as fixed. What are next steps to be able to switch off automatic refresh eg. in
editor?

*** This issue has been marked as a duplicate of 158177 ***
Comment 5 mslama 2009-04-21 14:20:00 UTC
I assume these files are opened in editor right? In such case workaround could be to close them in editor when files are
processed externally or do not activate IDE while files are modified externally.
Comment 6 Jaroslav Tulach 2009-04-22 07:31:43 UTC
Pavel has just finished creation of a new module: contrib/scanondemand Users can give it a try, however it is yet very 
experimental and we do not even publish it on autoupdate center.