From: "Valery V. Inozemtsev" <shrek@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Работа со сканерами
Date: Wed, 24 Nov 2010 15:59:17 +0300
Message-ID: <1290603557.12960.1.camel@shrek.croc.ru> (raw)
In-Reply-To: <201011241548.20452.serpiph@nikiet.ru>
[-- Attachment #1: Type: text/plain, Size: 1398 bytes --]
В Срд, 24/11/2010 в 15:48 +0300, Sergei Epiphanov пишет:
> Сегодня мне подогнали USB-сканер (точнее сбросили по случаю необходимости
> сканирования листочков). И наткнулся на любопытный момент: сейчас сканером "из
> коробки" может воспользоваться только root, так как все сканеры получают права
> "664" и владельца:группу root:root. Раньше все сканеры были в группе scanner.
> Мне пришлось писать rules для udev, чтобы завернуть устройство в группу
> scanner. А новый пользователь просто будет плеваться. В правилах, идущих с
> sane, установки группы нет, а общее правило требует root:root. Может, стоит
> добавить в файле 25-libsane.rules строчку, что группа у обнаруженных устройств
> будет scanner (ну или какая по необходимости).
в /lib/udev/rules.d/70-acl.rules есть установка ACL
# SCSI and USB scanners
ENV{libsane_matched}=="yes", TAG+="udev-acl"
--
Valery V. Inozemtsev
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-11-24 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-24 12:48 Sergei Epiphanov
2010-11-24 12:59 ` Valery V. Inozemtsev [this message]
2010-11-24 13:16 ` Sergei Epiphanov
2010-11-24 13:19 ` Valery V. Inozemtsev
2010-11-24 14:03 ` Sergei Epiphanov
2010-11-24 19:11 ` Sergey Vlasov
2010-11-25 7:42 ` Sergei Epiphanov
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=1290603557.12960.1.camel@shrek.croc.ru \
--to=shrek@altlinux.ru \
--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