pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41004: special permissions for mail/sendmail binaries



>Number:         41004
>Category:       pkg
>Synopsis:       special permissions for mail/sendmail binaries
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 13 13:15:00 +0000 2009
>Originator:     Uwe Klaus
>Release:        
>Organization:
>Environment:
SunOS iserv 5.10 Generic_138888-05 sun4u sparc SUNW,A70

>Description:
I use to build binary packages on a special machine and install
the resulting binary packages an other machines.

On the machine (solaris, sparc with studio12) where I build the
packages the permissions were set correctly.

<root@l42> ~# ls -l /opt/pkg/libexec/sendmail         
total 1754
-r-xr-sr-x   1 root     smmsp     816752 Mar 13 10:36 sendmail
-r-xr-xr-x   1 bin      bin        69900 Mar 13 10:36 smrsh

Inside the package the permissions are also correct.

<root@l42> ~# gtar xpzf /bsd/packages/sun4v/5.10/All/sendmail-8.14.3nb1.tgz 
libexec/sendmail
<root@l42> ~# ls -l libexec/sendmail/
total 1744
-r-xr-sr-x   1 root     smmsp     816752 Mar 13 10:36 sendmail
-r-xr-xr-x   1 bin      bin        69900 Mar 13 10:36 smrsh

If I install the binary package on another machine with pkg_add
the special permissions were lost.

<root@iserv> ~# pkg_add /bsd/packages/sun4v/5.10/All/sendmail-8.14.3nb1.tgz 
<root@iserv> ~# ls -l /opt/pkg/libexec/sendmail/
total 1754
-r-xr-xr-x   1 root     root      816752 Mar 13 10:36 sendmail
-r-xr-xr-x   1 root     root       69900 Mar 13 10:36 smrsh

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index