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 151229 - Installer overwrties into exisiting Sun Studio 12 install directory
Summary: Installer overwrties into exisiting Sun Studio 12 install directory
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: SUN Studio (show other bugs)
Version: 6.x
Hardware: Sun Linux
: P1 blocker (vote)
Assignee: igor_nikiforov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-23 22:46 UTC by akumta
Modified: 2008-11-03 19:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akumta 2008-10-23 22:46:00 UTC
Install Sun Studio 12 in /opt/sun
]# ls -l
total 3324
-rw-rw-r--  1 root root       0 Oct 23 13:14 dummy
drwxr-xr-x  2 root root    4096 Oct 23 14:16 lib
-rwxr-xr-x  1 root root 1690624 Oct 23 14:29 modify-install.sh
drwxr-xr-x 14 root root    4096 Aug 16  2007 sunstudio12
drwxr-xr-x 12 root root    4096 Oct 21 10:26 sunstudioceres
-rwxr-xr-x  1 root root 1690624 Oct 23 14:29 uninstall.sh
lrwxrwxrwx  1 root root      51 Oct 23 14:19 uninstall_Sun_Studio_12.class ->
sunstudio12/installer/uninstall_Sun_Studio_12.class
#

Now Install SSX0811 into /opt/sun.
 ls -l
total 3324
-rw-rw-r--  1 root root       0 Oct 23 13:14 dummy
drwxr-xr-x  2 root root    4096 Oct 23 14:30 lib
-rwxr-xr-x  1 root root 1690624 Oct 23 14:29 modify-install.sh
drwxr-xr-x 14 root root    4096 Aug 16  2007 sunstudio12
drwxr-xr-x 12 root root    4096 Oct  7 23:21 sunstudioceres
-rwxr-xr-x  1 root root 1690624 Oct 23 14:29 uninstall.sh
lrwxrwxrwx  1 root root      51 Oct 23 14:19 uninstall_Sun_Studio_12.class ->
sunstudio12/installer/uninstall_Sun_Studio_12.class

The lib directory has been overwritten
# cd lib
# ls -l
total 0
lrwxrwxrwx 1 root wheel 24 Oct 23 14:30 rtlibs -> ../sunstudioceres/rtlibs
#
Comment 1 igor_nikiforov 2008-10-24 13:48:00 UTC
Already installed Sun Studio detection mechanism was broken. Now it's fixed.
Comment 2 mesnik 2008-10-25 02:16:05 UTC
I suppose to always check lib directory in the directory where sunstudio is planned to be installed. The lib directory
is often used and we should not broke it.
Comment 3 akumta 2008-11-03 19:07:33 UTC
Verified with 10/30 build.