misc/136881: [java] netbeans67 has inappropriate permission such that users cannot run

Yoshihiro Ota ota at j.email.ne.jp
Sat Jul 18 04:50:02 UTC 2009


>Number:         136881
>Category:       misc
>Synopsis:       [java] netbeans67 has inappropriate permission such that users cannot run
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 18 04:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Yoshihiro Ota
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD xxx 7.1-RELEASE-p6 FreeBSD 7.1-RELEASE-p6 #465 r188634M: Wed Jun 17 12:19:08 EDT 2009     xxx:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
%ls -lsd /usr/local/netbeans67
2 drwx------  22 root  wheel  1024  7 18 00:34 /usr/local/netbeans67

Install directory is not visible to anyone else other than root.
Normal users cannot run the program.
>How-To-Repeat:
% cd /usr/ports/java/netbeans
% make install
% su -l hiro
% netbeans67
/usr/local/bin/netbeans67: Permission denied.

%ls -sld /usr/local/bin/netbeans67
0 lrwxr-xr-x  1 root  wheel  34  7 18 00:35 /usr/local/bin/netbeans67 -> /usr/local/netbeans67/bin/netbeans
%ls -lsd /usr/local/netbeans
netbeans/   netbeans67/
%ls -lsd /usr/local/netbeans67
netbeans67/
%ls -lsd /usr/local/netbeans67
2 drwx------  22 root  wheel  1024  7 18 00:34 /usr/local/netbeans67
>Fix:
Temporary solution is

% chmod +rx /usr/local/netbeans67/

Old netbeans such as 6.1 and 6.5 used to work.
6.7 needs to be reverted to the same ways as 6.1 and 6.5.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list