[Pm-utils] [PATCH] Fix inverse file owner check in init_logfile()

Michael Biebl mbiebl at gmail.com
Thu Feb 14 08:19:57 PST 2008


pluto:~# pm-suspend --quirk-s3-bios
We do not own /var/log/pm-suspend.log, refusing to overwrite.
[..]
Do 14. Feb 17:10:14 CET 2008: running /usr/lib/pm-utils/sleep.d/99video resume
pluto:~# ls -la /var/log/pm-suspend.log
-rw-r--r-- 1 root root 2213 14. Feb 03:08 /var/log/pm-suspend.log
pluto:~# id
uid=0(root) gid=0(root) Gruppen=0(root)


The file owner check in init_logfile has to be negated.

Please review and apply.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-inverse-file-owner-check-in-init_logfile.patch
Type: text/x-c
Size: 694 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080214/827311b9/attachment.bin 


More information about the Pm-utils mailing list