OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004864 [lsof] packaging major always 2011-11-16 11:22 2011-11-17 10:40
Reporter abone28 View Status public  
Assigned To dam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0004864: lsof have invalid group and no setgid bit
Description As of version 4.84 currently available in dublin and unstable lsof binaries belong to group bin instead of sys and don't have setgit bit set. This makes lsof unusable from regular user.
Steps To Reproduce
Additional Information pkgmap in the package contains

1 f none /opt/csw/bin/sparcv8/lsof 0755 root bin ...
1 f none /opt/csw/bin/sparcv8plus/lsof 0755 root bin ...
1 f none /opt/csw/bin/sparcv9/lsof 0755 root bin ...

but should be

1 f none /opt/csw/bin/sparcv8/lsof 2755 root sys ...
1 f none /opt/csw/bin/sparcv8plus/lsof 2755 root sys ...
1 f none /opt/csw/bin/sparcv9/lsof 2755 root sys ...

I'm attaching patch that works for me, but you need to test it on x86. I don't have x86 solaris box.
Tags No tags attached.
Attached Files ? file icon lsof-setgid.patch [^] (374 bytes) 2011-11-16 11:22

- Relationships

-  Notes
(0009415)
dam (administrator)
2011-11-16 15:45

This has been fixed in the Makefile:
  http://sourceforge.net/apps/trac/gar/changeset/16202 [^]
New packages are rebuilding now.
(0009416)
dam (administrator)
2011-11-16 20:27

Updated packages will show up shortly on
  http://buildfarm.opencsw.org/experimental.html#lsof [^]
Please verify if this fixes your issue.

I set 2755 on /opt/csw/bin/lsof, which is a hardlink to isaexec and permissions are not applied to hardlinks.
(0009417)
abone28 (reporter)
2011-11-17 02:59

I've checked package version lsof-4.84,REV=2011.11.16-SunOS5.10-sparc-CSW.pkg.gz from experimental. Works for me. Thank you!
(0009418)
dam (administrator)
2011-11-17 10:40

Updated lsof-4.84,REV=2011.11.16 released to unstable/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker