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 215218 - Access Denied when running platform application from IDE from USB
Summary: Access Denied when running platform application from IDE from USB
Status: RESOLVED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.2
Hardware: PC All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-05 21:30 UTC by javydreamercsw
Modified: 2012-12-19 12:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (139.18 KB, text/plain)
2012-07-05 21:30 UTC, javydreamercsw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javydreamercsw 2012-07-05 21:30:48 UTC
Product Version = NetBeans IDE 7.2 (Build 201206291011)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) Client VM 23.1-b03

I have to run the IDE with administrator rights in order to do some stuff like storing plug-ins on shared location. When I try to run my application, which copies some files from a module's released folder, I get an access denied error. It seems the ran application is not called with admin rights. Is there a way to configure this? If not it seems it might need to be one.

Please change from defect to enhancement if applicable.
Comment 1 javydreamercsw 2012-07-05 21:30:53 UTC
Created attachment 121778 [details]
IDE log
Comment 2 Jaroslav Tulach 2012-11-05 15:09:46 UTC
What exactly is the error message you complain about?
Comment 3 javydreamercsw 2012-12-16 23:08:56 UTC
I ran across the same issue, but this time on Ubuntu. In both cases I'm running Netbeans from an USB drive.

In my latest project this is the output:

[nbm:run-platform]
Executing: /bin/sh -c /media/1311-2153/NetBeans/SynamicD-Wrapper_NBM/application/target/synamicd_wrapper_nbm/bin/synamicd_wrapper_nbm --userdir /media/1311-2153/NetBeans/SynamicD-Wrapper_NBM/application/target/userdir -J-Dnetbeans.logger.console=true -J-ea --branding synamicd_wrapper_nbm --jdkhome /usr/local/java/jdk1.7.0_07
/bin/sh: 1: /media/1311-2153/NetBeans/SynamicD-Wrapper_NBM/application/target/synamicd_wrapper_nbm/bin/synamicd_wrapper_nbm: Permission denied
Comment 4 Jaroslav Tulach 2012-12-19 12:41:39 UTC
What is content of /media/1311-2153/NetBeans/SynamicD-Wrapper_NBM/application/target/synamicd_wrapper_nbm/bin/synamicd_wrapper_nbm, what is its status, etc.?

I am asking just to give you hints where to look at. Otherwise I believe this is clearly a user error, some mishmash in file permissions and I don't really understand why I should spend time investigating it.