Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 20:21:37 +0100
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-java@freebsd.org
Subject:   netbeans-Port installs /usr/local/netbeans65 Mode 700?
Message-ID:  <49762441.4050400@gmx.de>

next in thread | raw e-mail | index | archive | help
Hi,

I ran portupgrade last Friday, which also updated the installed 
Netbeans-Port.

Unfortunately I'm unable now to run netbeans

[bash]beaster:~$/usr/local/bin/netbeans65
bash: /usr/local/bin/netbeans65: Permission denied

I checked /usr/local/netbeans65 and found it is installed Mode 700:

[-su]beaster:local$ls -ld 
netbeans65/                                          
drwx------  24 root  wheel  1024 Jan 17 01:05 
netbeans65/                      

I then checked /usr/ports/UPDATING, found no hints, checked this List 
but didn't find a hint, too.

So, I just portsnapped again and ran portupgrade -f netbeans:

[-su]beaster:~$portupgrade -f netbeans
[Updating the portsdb <format:bdb_btree> in /usr/ports ... - 19643 port 
entriesfound 
.........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000...... 
..... done]
--->  Reinstalling 'netbeans-6.5_2' (java/netbeans)
--->  Building '/usr/ports/java/netbeans'
===>  Cleaning for netbeans-6.5_2
===>  Extracting for netbeans-6.5_2
=> MD5 Checksum OK for netbeans-6.5-200811100001-ml.zip.
=> SHA256 Checksum OK for netbeans-6.5-200811100001-ml.zip.
===>   netbeans-6.5_2 depends on executable: unzip - found
===>  Patching for netbeans-6.5_2
===>  Applying FreeBSD patches for netbeans-6.5_2
===>  Configuring for netbeans-6.5_2
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'netbeans-6.5_2'
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1096 
packages found(-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for netbeans-6.5_2
===>   netbeans-6.5_2 depends on file: /usr/local/jdk1.6.0/bin/java - found
===>   Generating temporary packing list
===>   Registering installation for netbeans-6.5_2
===>  Cleaning for netbeans-6.5_2
--->  Cleaning out obsolete shared libraries
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1097 
packages found(-0 +1) . done]

However, /usr/local/netbeans65 is still Mode 700:

[bash]beaster:~$ls -ld /usr/local/netbeans65/
drwx------  24 root  wheel  1024 Jan 17 20:08 /usr/local/netbeans65/

Then checked the Problem Reports (on freebsd.org) but didn't find a 
Ticket re. this Problem.

As it seems I'm the only one running into this Problem:

Did I do something wrong with the Installation?

I could (well, and will) simply change the Permissions of the 
Directories - but these would be lost during the next portupgrade (of 
netbeans). So a hint about what I did wrong would be great!

Cheers and MTIA!
_ralf_



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49762441.4050400>