From: Andrey Rahmatullin <wrar@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] /dev/sg* permissions
Date: Tue, 25 Nov 2008 21:56:22 +0500
Message-ID: <20081125165622.GA5778@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <200811251623.55075.shrek@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]
On Tue, Nov 25, 2008 at 04:23:54PM +0300, Valery V. Inozemtsev wrote:
> oops... соврал. там где висит cdrom права на /dev/sgX должны быть root:cdrom 0660, определяется так
> $ for d in /dev/sg[0-9]; do TYPE=$(cat $(hal-get-property --udi $(hal-find-by-property --key linux.device_file --string $d) --key
> linux.sysfs_path)/device/type); if [ $TYPE = 4 -o $TYPE = 5 ]; then echo $d; fi; done
$ for d in /dev/sg[0-9]; do TYPE=$(cat $(hal-get-property --udi
$(hal-find-by-property --key linux.device_file --string $d) --key
linux.sysfs_path)/device/type); if [ $TYPE = 4 -o $TYPE = 5 ]; then echo
$d; fi; done
/dev/sg2
$ l /dev/sg*
crw-r----- 1 root disk 21, 2 Ноя 25 15:59 /dev/sg2
crw-r----- 1 root disk 21, 1 Ноя 25 15:59 /dev/sg1
crw-r----- 1 root disk 21, 0 Ноя 25 15:59 /dev/sg0
Оно мне не мешает, правда.
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
<AMorozov> combr: а, кстати, что заставляет людей в 2005 году использовать
Window Maker ?
<combr> AMorozov: а что, им стОит продолжить использовать twm ? ;)
<AMorozov> combr: нет. KDE - решенье всех проблем. Я серьезно.
<combr> AMorozov: странно. я использую windowmaker и не замечаю проблем ;)
<combr> наверно, я делаю что-то не так
<AMorozov> combr: нет, конечно, иногда хочется испытать приступ эмоционального
оргазма, и тогда надо запустить E17, но работать в оном все равно
невозможно.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-11-25 16:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 9:50 [sisyphus] audio cd riping Alexey Morsov
2008-11-25 8:19 ` Alexey Morsov
2008-11-25 11:28 ` Dmitry V. Levin
2008-11-25 11:36 ` Alexey Morsov
2008-11-25 11:42 ` [sisyphus] usev /dev/sg* permissions Dmitry V. Levin
2008-11-25 11:56 ` Alexey Morsov
2008-11-25 12:28 ` Rafael Malikov
2008-11-25 12:36 ` [sisyphus] " Dmitry V. Levin
2008-11-25 12:52 ` Alexey Morsov
2008-11-25 13:01 ` Valery V. Inozemtsev
2008-11-25 13:07 ` Alexey Morsov
2008-11-25 13:23 ` Valery V. Inozemtsev
2008-11-25 16:56 ` Andrey Rahmatullin [this message]
2008-11-25 17:05 ` Valery V. Inozemtsev
2008-11-25 20:42 ` Alexey Morsov
2008-11-25 14:22 ` Sergey Vlasov
2008-11-25 13:12 ` Dmitry V. Levin
2008-11-25 13:26 ` Valery V. Inozemtsev
2008-11-25 13:40 ` Alexey Morsov
2008-11-25 13:46 ` Valery V. Inozemtsev
2008-11-25 13:51 ` Alexey Morsov
2008-11-25 13:58 ` Valery V. Inozemtsev
2008-11-25 14:17 ` Alexey Morsov
2008-11-25 14:25 ` Sergey Vlasov
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=20081125165622.GA5778@wrars-comp.wrarsdomain \
--to=wrar@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