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 - glassfish-3.1 keyfile unreadable by user
Summary: glassfish-3.1 keyfile unreadable by user
Status: RESOLVED DUPLICATE of bug 184674
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 07:36 UTC by _ proxity
Modified: 2011-07-27 01:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log of IDE (82.32 KB, text/x-log)
2011-05-24 07:41 UTC, _ proxity
Details
readable as click (82.32 KB, text/plain)
2011-06-02 23:23 UTC, Vince Kraemer
Details

Note You need to log in before you can comment on or make changes to this bug.
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.