ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Mykola S. Grechukh" <gns@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] ошибка подключения файловой системы при переключении в консоль
Date: Fri, 29 Oct 2010 13:12:12 +0300
Message-ID: <AANLkTi=YZtV-vHwcL+TrxfrtVLRLqoqj6N+jrG9hx2c+@mail.gmail.com> (raw)
In-Reply-To: <20101029100509.GC4036@imap.altlinux.org>

2010/10/29 Vladislav Zavjalov <>:
> Ну, ConsoleKit способен правильно понять переключения консолей и
> название пользователя в консоли. И вполне можно было бы дать
> такому пользователю смонтировать флешку. Но вот значит пользователь
> в консоли с точки зрения ConsoleKit'а чем-то отличается, и с точки
> зрения PolicyKit'а - не надо ему давать.

"Не дают" графической сессии. Которая неактивна. То что юзер один, не
важно - сессии разные.

Кому давать, описано в /usr/share/polkit-1/actions/org.freedesktop.udisks.policy

  <action id="org.freedesktop.udisks.filesystem-mount">
    <description>Mount a device</description>
    <description xml:lang="da">Montér en enhed</description>
    <message>Authentication is required to mount the device</message>
    <message xml:lang="da">Autorisering er påkrævet for at montere et
fil system</message>
    <defaults>
      <allow_any>no</allow_any>
_____ <allow_inactive>no</allow_inactive>_________
      <allow_active>yes</allow_active>
    </defaults>
  </action>

Куда именно класть оверрайд, не знаю.

-- 
Mykola Grechukh
RISC Group IT Solutions

      reply	other threads:[~2010-10-29 10:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 22:17 alex9yust
2010-10-28 22:36 ` Vladislav Zavjalov
2010-10-29  5:45   ` Ildar Mulyukov
2010-10-29 10:05     ` Vladislav Zavjalov
2010-10-29 10:12       ` Mykola S. Grechukh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=YZtV-vHwcL+TrxfrtVLRLqoqj6N+jrG9hx2c+@mail.gmail.com' \
    --to=gns@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git