OpenCSW Bug Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] 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  
Status closed  
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.
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
dam (administrator)
2011-11-16 15:45

This has been fixed in the Makefile: [^]
New packages are rebuilding now.
dam (administrator)
2011-11-16 20:27

Updated packages will show up shortly on [^]
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.
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!
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