Mantis - amanda
Viewing Issue Advanced Details
5123 packaging major always 2013-11-14 19:09 2014-03-24 00:48
upengan  
 
normal  
new  
open  
none    
none  
0005123: Permissions need to be set-uid owner or be set as from the package
CSWamanda 0000003.3.3 the permissions for amanda binaries in /opt/csw/sbin/ have permissions that do not work as it is. They have to be set-uid root or whatever appropriate.

For example,
-rwxr-xr-x 1 root bin 64132 Apr 24 2013 /opt/csw/sbin/amcheck

Above perms, result in "permission denied' error while running amcheck.

chmod u+s /opt/csw/sbin/amcheck will resolve the issue.
I didn't have this issue with 0000003.1.1. Encountered this immediately after upgrading to 3.3.3 (pkgutil -u amanda)

Copying here the comment from malinglist-http://lists.opencsw.org/pipermail/users/2013-November/009706.html [^]

"
I guess this was missed when converting from the legacy package to our new buildsystem:
  http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/amanda/trunk/Makefile [^]

(See --disable-installperms) This needs to be converted to permission settings in
the package."
Issue History
2013-11-14 19:09 upengan New Issue
2014-03-24 00:48 maciej Note Added: 0010773

Notes
(0010773)
maciej   
2014-03-24 00:48   
There is no point in waiting for this bug to be fixed. If you want it fixed, you (yes, you the reader) need to fix it yourself. If you're not already a package maintainer at OpenCSW, you can look at the 35 minute long tutorial[1] to get started - then you can offer your patch to package maintainers. You can find OpenCSW people on the users mailing list[2] and on the #opencsw channel on IRC on Freenode[3].

[1] Packaging tutorial http://youtu.be/JWKCbPJSaxw [^]
[2] OpenCSW users mailing list https://lists.opencsw.org/mailman/listinfo/users [^]
[3] #opencsw on Freenode http://www.opencsw.org/support/irc-channel/ [^]