Date: Thu, 16 Sep 2004 15:13:53 +0400 From: "Eugene M. Minkovskii" <emin@mccme.ru> To: freebsd-questions@freebsd.org Subject: cdda2wav: Fatal error: did not drop root privilege Message-ID: <20040916111353.GA9709@mccme.ru>
next in thread | raw e-mail | index | archive | help
My cdda2wav did not work under user (but work under root). I was trying to set suid bit but don't take success. What do yuo think about? --- begin paste of my tty --------- [emin:~]$ cat /etc/fbtab /dev/ttyv0 0660 /dev/fd0:/dev/acd0 [emin:~]$ ll /dev/{a,}cd0 crw-rw---- 1 emin emin 4, 12 10 ΣΕΞ 19:24 /dev/acd0 crw-r----- 1 root operator 4, 20 10 ΣΕΞ 19:24 /dev/cd0 [emin:~]$ id uid=1001(emin) gid=1001(emin) groups=1001(emin), 5(operator) ## So you can see: I am in operator group [emin:~]$ sudo chmod 4110 /usr/local/bin/cdda2wav [emin:~]$ ll /usr/local/bin/cdda2wav ---s--x--- 1 root operator 240964 6 ΔΕΛ 2003 /usr/local/bin/cdda2wav* [12:49:01]0[emin:~]$ /usr/local/bin/cdda2wav -B Type: ROM, Vendor 'TEAC ' Model 'CD-552E ' Revision '1.00' MMC+CDDA 266240 bytes buffer memory requested, 4 buffers, 27 sectors ........................................................... percent_done: 0%Fatal error: did not drop root privilege. 0%child reader sem request failed W Child exited with 2 [emin:~]$ --- end paste of my tty ---------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040916111353.GA9709>