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 198842

Summary: glassfish-3.1 keyfile unreadable by user
Product: serverplugins Reporter: _ proxity <proxity>
Component: GlassFishAssignee: Vince Kraemer <vkraemer>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log of IDE
readable as click

Description _ proxity 2011-05-24 07:36:29 UTC
I've installed nb7 as root with default settings to /usr/local. When I start the IDE with my standard user I get 5 pop-ups:

Warning
/usr/local/glassfish-3.1/glassfish/domains/domain1/config/keyfile (Permission denied)

So it seems that access permissions are not ok for this file!

-rw------- 1 root root 2003 15. Feb 08:45 /usr/local/glassfish-3.1/glassfish/domains/domain1/config/keyfile

As you can see the file can only be accessed by root. Please fix that!
Comment 1 _ proxity 2011-05-24 07:41:11 UTC
Created attachment 108474 [details]
messages.log of IDE
Comment 2 Vince Kraemer 2011-06-02 18:37:08 UTC
can you send me a list of files under /usr/local/glassfish-3.1/glassfish/domains/domain1 that are not readable?
Comment 3 Vince Kraemer 2011-06-02 23:23:19 UTC
Created attachment 108684 [details]
readable as click
Comment 4 Vince Kraemer 2011-06-02 23:24:48 UTC

*** This bug has been marked as a duplicate of bug 184674 ***
Comment 5 _ proxity 2011-06-06 15:27:36 UTC
All files in /usr/local/glassfish-3.1/glassfish/domains/domain1/config are unreadable:

admin-keyfile
cacerts.jks
default-web.xml
domain-passwords
domain.xml
keyfile
keystore.jks
logging.properties
login.conf
server.policy
sun-acc.xml
wss-server-config-1.0.xml
wss-server-config-2.0.xml
Comment 6 hallowsphere 2011-07-27 01:12:19 UTC
Hi ,

It may be useful. First confirm the file whether they exists are not ? If they exists and still you are facing the same issue then please go through the below steps:

As you have installed the IDE as root

1. first the add the ownership to user. as
    chown root:<<yourusergroup>> *
2. change those file attributes . that is readability to read write mode with
    chmod 775 *

 that's it.