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 131208 - Inconsistent cluster permissions
Summary: Inconsistent cluster permissions
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-26 16:46 UTC by Jaromir Uhrik
Modified: 2008-07-30 10: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 Jaromir Uhrik 2008-03-26 16:46:47 UTC
I have installed latest j2se distribution "NetBeans 6.1 Dev 200803251204.app". When I check the permissions of clusters
I can see that some of them have 'group write permission' and some don't. Following ls command shows the default
permission of folders in netbeans dir (see e.g. 'java2' has 775 while 'ide9' has 755):

------------------------------------------------%<-------------------------------------------------
[.JARa]/Applications/NetBeans/NetBeans 6.1 Dev 200803251204.app/Contents/Resources/NetBeans #ls -la
total 2488
drwxr-xr-x  21 root  admin     714 Mar 26 16:27 .
drwxr-xr-x   4 root  admin     136 Mar 25 15:10 ..
-rw-r--r--   1 root  admin    5434 Mar 25 15:10 CREDITS.html
-rw-r--r--   1 root  admin    1852 Mar 25 15:10 DISTRIBUTION.txt
-rw-r--r--   1 root  admin    1845 Mar 25 15:10 LEGALNOTICE.txt
-rw-r--r--   1 root  admin   76987 Mar 25 15:10 LICENSE.txt
-rw-r--r--   1 root  admin    5176 Mar 25 15:10 README.html
-rw-r--r--   1 root  admin  385362 Mar 25 15:10 THIRDPARTYLICENSE-generated.txt
-rw-r--r--   1 root  admin  729553 Mar 25 15:10 THIRDPARTYLICENSE.txt
drwxrwxr-x   7 root  admin     238 Mar 25 13:23 apisupport1
drwxr-xr-x   3 root  admin     102 Mar 25 15:10 bin
drwxr-xr-x   5 root  admin     170 Mar 26 16:28 etc
drwxr-xr-x   8 root  admin     272 Mar 25 15:10 gsf1
drwxrwxr-x  18 root  admin     612 Mar 26 16:27 harness
drwxr-xr-x   7 root  admin     238 Mar 25 15:10 ide9
drwxrwxr-x   9 root  admin     306 Mar 25 13:22 java2
-rw-r--r--   1 root  admin   32382 Mar 25 15:10 moduleCluster.properties
drwxr-xr-x  13 root  admin     442 Mar 26 16:28 nb6.1
[.JARa]/Applications/NetBeans/NetBeans 6.1 Dev 200803251204.app/Contents/Resources/NetBeans #
------------------------------------------------%<-------------------------------------------------
Comment 1 dlipin 2008-03-26 17:41:21 UTC
Yulia, please have a look.
Comment 2 dlipin 2008-03-26 17:47:26 UTC
juhrik,

btw, was it the old mac installer (with several .pkg on the disc) or the new one (one .mpkg on the disc)?
Comment 3 dlipin 2008-03-26 20:07:51 UTC
Yulia, it is likely because of executing installer/mac/newbuild/netBeans/baseide/pkg/scripts/perm.sh during Base IDE 
installation. And for some reason we don`t do that for all the other packs...
Comment 4 Yulia Novozhilova 2008-03-28 14:05:11 UTC
Fixed:

http://hg.netbeans.org/main/rev/739b397f9129
Comment 5 Jaromir Uhrik 2008-07-30 10:07:16 UTC
Verified in dev build # 200807240010.