[arch-general] permission problems with brasero (cdrecord)
Łukasz Michalski
lm at zork.pl
Mon Sep 7 10:43:59 UTC 2020
Hi,
Today I discovered that I cannot burn CD from iso image with brasero - it says I do not have requires permissions.
My user is in "optical group".
I finally resolved this problem by setting sticky bit on /bin/cdrecord and /bin/cdrdao.
Is there a better solution?
Here is interesting part of log from brasero run with --brasero-media-debug --brasero-burn-debug --brasero-utils-debug:
BraseroBurn: (at burn-process.c:142) BraseroCDRecord got varg:
BraseroBurn: (at burn-process.c:145) cdrecord
BraseroBurn: (at burn-process.c:145) -v
BraseroBurn: (at burn-process.c:145) dev=/dev/sr0
BraseroBurn: (at burn-process.c:145) gracetime=0
BraseroBurn: (at burn-process.c:145) speed=24
BraseroBurn: (at burn-process.c:145) driveropts=burnfree
BraseroBurn: (at burn-process.c:145) fs=16m
BraseroBurn: (at burn-process.c:145) -data
BraseroBurn: (at burn-process.c:145) -nopad
BraseroBurn: (at burn-process.c:145) /home/zork/Downloads/cd140201.iso
BraseroBurn: (at burn-process.c:624) BraseroCDRecord Launching command
BraseroBurn: (at burn-job.c:1309) BraseroCDRecord called brasero_job_get_fd_out
BraseroBurn: (at burn-task.c:439) entering loop
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stdout: BraseroBurn: (at burn-job.c:1190) BraseroCDRecord called brasero_job_get_fd_in
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: No write mode specified.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stdout: BraseroBurn: (at burn-job.c:1309) BraseroCDRecord called brasero_job_get_fd_out
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Assuming -sao mode.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: If your drive does not accept -sao, try -tao.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Future versions of cdrecord may have different drive dependent defaults.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Cannot allocate memory. WARNING: Cannot do mlockall(2).
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: WARNING: This causes a high risk for buffer underruns.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: WARNING: This causes a high risk for buffer underruns.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'file read' privileges. You will not be able to open all needed devices.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'file write' privileges. You will not be able to open all needed devices.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'device' privileges. You may not be able to send all needed SCSI commands, this my cause various unexplainable problems.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'memlock' privileges. You may get buffer underruns.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'priocntl' privileges. You may get buffer underruns.
BraseroBurn: (at burn-job.c:1374) BraseroCDRecord called brasero_job_get_flags
BraseroBurn: (at burn-process.c:415) BraseroCDRecord stderr: cdrecord: Insufficient 'network' privileges. You will not be able to do remote SCSI.
Regards,
Łukasz
More information about the arch-general
mailing list