View previous topic :: View next topic |
Author |
Message |
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Thu Jan 31, 2008 9:21 pm Post subject: cdrecord, suid and RLIMIT_MEMLOCK |
|
|
Hello,
is it possible to use cdrecord without suid set and not to get the following warnings?
Code: |
cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Permission denied. Cannot open '/dev/hda'. Cannot open or use SCSI driver.
|
To get rid of these warnings, I had to set the suid bit. But I really would prefer to achieve that with normal rights. _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Mon Feb 04, 2008 10:32 am Post subject: |
|
|
bump _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5947
|
Posted: Mon Feb 04, 2008 10:34 am Post subject: |
|
|
Quote: | bunder ~ # which cdrecord
/usr/bin/cdrecord
bunder ~ # ls -l /usr/bin/cdrecord
lrwxrwxrwx 1 root root 14 Jul 8 2007 /usr/bin/cdrecord -> /usr/bin/wodim
bunder ~ # ls -l /usr/bin/wodim
-rws--x--x 1 root root 353536 Jul 8 2007 /usr/bin/wodim
|
suid sounds okay to me... _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
|