Bug 222819 - pm-powersave fails due to dir permissons
Summary: pm-powersave fails due to dir permissons
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-16 12:49 UTC by simon
Modified: 2015-03-05 01:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-01-23 13:15:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description simon 2007-01-16 12:49:18 UTC
Description of problem:
When executing "pm-powersave true" it fails with the message:

You do not have write access to /proc/sys/vm/

ls -l for /proc/sys/vm shows:

dr-xr-xr-x 2 root root 0 Jan 16 12:44 vm

however, ls -l within /proc/sys/vm shows e.g;

-rw-r--r-- 1 root root 0 Jan 16 12:47 laptop_mode

So pm-powersave *could* still write to the files if it had the correct check for
being able to write there.

Version-Release number of selected component (if applicable):
pm-utils-0.19-3

How reproducible:
Always

Steps to Reproduce:
1. Run pm-powersave true
2.
3.
  
Actual results:
error: You do not have write access to /proc/sys/vm/

Expected results:
output: **SetLowPower ON


Additional info:

Comment 1 Phil Knirsch 2007-01-23 13:15:40 UTC
Fixed in latest version.

Read ya, Phil


Note You need to log in before you can comment on or make changes to this bug.