Re: [gpm] Aha! its a permission problem!
- From: Richard Hughes <hughsient gmail com>
- To: Paul Johnson <pauljohn32 gmail com>
- Cc: gnome-power-manager-list gnome org
- Subject: Re: [gpm] Aha! its a permission problem!
- Date: Sun, 11 Jun 2006 10:28:36 +0100
On Sat, 2006-06-10 at 15:31 -0500, Paul Johnson wrote:
> I just realized that /usr/sbin/pm-suspend worked with current Utopia
> rpms, but only when logged in as root. Here's what happens to the
> ordinary user.
Yes, this is due to the new pm-utils design (no console helper).
> $ pm-suspend
> bash: pm-suspend: command not found
> [pauljohn pols125 ~]$ /usr/sbin/pm-suspend
> chvt: VT_ACTIVATE: Operation not permitted
> /etc/pm/functions: line 43: /.suspended: Permission denied
> touch: cannot touch `/var/run/pm-suspend': Permission denied
> /etc/pm/functions: line 100: pm-pmu: command not found
> /etc/pm/functions: line 100: /sys/power/state: Permission denied
> chvt: VT_ACTIVATE: Operation not permitted
> chvt: VT_ACTIVATE: Operation not permitted
We should probably clean that up when the user tries, something like
"You need to be the root user" -- HAL is running as root, so that
shouldn't be a problem.
Richard.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]