FreeBSD Bugzilla – Attachment 16301 Details for
Bug 29939
update port: sysutils/xcdroast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.85 KB, created by
Oliver Lehmann
on 2001-08-22 00:50:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Oliver Lehmann
Created:
2001-08-22 00:50:11 UTC
Size:
1.85 KB
patch
obsolete
>diff -ruN xcdroast.old/Makefile xcdroast/Makefile >--- xcdroast.old/Makefile Wed Aug 22 00:58:42 2001 >+++ xcdroast/Makefile Wed Aug 22 01:16:50 2001 >@@ -34,16 +34,19 @@ > done > > post-install: >+ @${CAT} ${PKGMESSAGE} >+ >+enable-nonroot: > > /usr/sbin/pw groupadd -n cdwrite > >-# for i in cdrecord cdda2wav mkisofs readcd; do \ >-# ${CHOWN} root:cdwrite ${LOCALBASE}/bin/$$i ; \ >-# ${CHMOD} 4710 ${LOCALBASE}/bin/$$i ; \ >-# done >+ for i in cdrecord cdda2wav mkisofs readcd; do \ >+ ${CHOWN} root:cdwrite ${LOCALBASE}/bin/$$i ; \ >+ ${CHMOD} 4710 ${LOCALBASE}/bin/$$i ; \ >+ done > >-# ${CHOWN} root:cdwrite ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap >-# ${CHMOD} 2755 ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap >+ ${CHOWN} root:cdwrite ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap >+ ${CHMOD} 2755 ${PREFIX}/lib/xcdroast-0.98/bin/xcdrwrap > > @${ECHO} "" > @${ECHO} "***************************************************************" >@@ -52,4 +55,5 @@ > @${ECHO} " this file, a normal user will get an error message." > @${ECHO} "***************************************************************" > @${ECHO} "" >+ > .include <bsd.port.mk> >diff -ruN xcdroast.old/pkg-message xcdroast/pkg-message >--- xcdroast.old/pkg-message Thu Jan 1 01:00:00 1970 >+++ xcdroast/pkg-message Wed Aug 22 01:40:22 2001 >@@ -0,0 +1,20 @@ >+ >+*********************************************************** >+ ATTENTION! >+ >+You must be root to use xcdroast. To use it as normal user, >+type "make enable-nonroot". But beware! This is a security >+risk. It modifies the following files and give them the >+set-user-ID-on-execution bit. >+ >+cdrecord(1) >+readcd(1) >+cdda2wav(1) >+mkisofs(8) >+ >+All group members of "cdwrite" are able to run these files >+as root. Usually, these group has no members. >+Users added to this group may start these files as root >+ >+*********************************************************** >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29939
: 16301